From: <bc...@wo...> - 2001-01-15 20:48:11
|
I am happy to announce the first release candidate 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 2 include: New features - Experimental support for reloading java packages. Thanks to Samuele Pedroni for all his work on the Jython/Java integration. Bug fixes. - Prevent a NPE when a .jar on the classpath is corrupt. Instead a message with the original IOException is printed. 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 |