---

Jython-2.0 released

Subject: ANN: Jython-2.0 released
Date: Thu, 18 Jan 2001 20:20:43 GMT
From: bckfnn@worldonline.dk (Finn Bock)
To: python-announce@python.org, python-list@python.org
Newsgroups: comp.lang.python.announce

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:

http://www.jython.org/

Installation is started by running the installer class. Further
information and tips on installation is available at:

http://www.jython.org/install.html

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:

http://www.jython.org/NEWS.html

Bugs can be reported to the bug manager on SourceForge:

http://sourceforge.net/bugs/?group_id=12867

Cheers, the jython-developers

Get the Free Newsletter!

Subscribe to Developer Insider for top news, trends, & analysis