I am happy to announce the release of Jython 2.0.
Jython is a Java implementation of the Python programming
language. It allows users to compile Python source code to
Java byte codes, and run the resulting bytecodes on any Java
Virtual Machine. It is a very seamless and smooth
integration with Java: from Python you have complete access
to all Java libraries, can build applets, can integrate with
Java beans, and can subclass Java classes in Python and vice
versa. Like Python, and unlike Java, Jython can also be
used interactively: just type some Jython code at the
prompt and see the results immediately.
A java installer is available for download at the Jython website:
Installation is started by running the installer class. Further
information and tips on installation is available at:
Jython 2.0 is feature compatible with Python 2.0 and among the
new feature are:
- Augmented assignment, e.g. x += 1
- List comprehensions, e.g. [x**2 for x in range(10)]
- Extended import statement, e.g. import Module as Name
- Extended print statement, e.g. print >> file, "Hello"
A complete list of changes and differences are available here:
Bugs can be reported to the bug manager on SourceForge:
On behalf of the Pythonlabs team, I want to extend my congratulations
to Finn Bock on the release of Jython 2.0 final. This is a wonderful
milestone in the life of JPython and Jython.
Some of you are probably aware that I haven't been actively involved
in Jython development for many months. With the Pythonlabs turmoil in
2000, I found that trying to lead two open source projects (Mailman
and Jython) while still contributing to CPython's development was
simply too much. I ran out of cycles and something had to give.
Handing over the reins of Jython project leadership to Finn was
actually quite an easy decision. He has been a valued contributor to
the project for a long time, and I knew that he would serve Jython
well. The Jython 2.0 release reinforces the wisdom of that decision!
Jython is and continues to be a very important part of the Python
world. The Pythonlabs team encourages and salutes Finn's work on
Jython and will continue to work with him on various issues such as
language development, CPython compatibility, and legal issues.
I leave Jython in good hands -- thanks Finn Bock, Samuele Pedroni, and
all the other Jython developers.
Barry A. Warsaw
PythonLabs at Digital Creations