I am happy to announce the second beta 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://jython.sourceforge.net/
Installation is started by running the installer class. Further
information and tips on installation is available at:
http://jython.sourceforge.net/install.html
Jython 2.0 is feature compatible with Python 2.0 and among the
new features 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"
The changes from beta 1 include:
New features
- Added socket.getfqdn(). Thanks to Brian Zimmer for the patch.
Bug fixes.
- Fixed innerclass names with '$' #127200
- Fixed a bug where final methods were overriden in proxy #127201.
- Fixed a bug in exec which allow a fileobject to be passed in.
Thanks to Brian Zimmer for the patch.
A complete list of changes and differences are available here:
http://jython.sourceforge.net/NEWS.html
Bugs can be reported to the bug manager on SourceForge:
http://sourceforge.net/bugs/?group_id=12867
Cheers,
the jython-developers
|