欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页  >  资讯频道

Jython 2.5.2发布

程序员文章站 2022-04-03 13:30:34
...
Jython 2.5.2发布

jython 2.5.2发布了!

Jython是Python的纯Java实现。它无缝地结合了Java类与Python,使用户能以Python语言的语法编写在Java虚拟机上运行的软件。除了一些标准的模块外,其他的都是用Java的模块。

特点:与相似的Java程序相比,Jython极大的的减少了编程代码量。Jython同时拥有解释器和编译器,使其无需编译就可以测试程序代码。

该版本新功能:
* The socket module now includes ipv6 support
* The socket module now also includes Internationalized Domain Names (RFC 3490) support on Java 6
* Performance improvements around method invocation. 2.5.2 runs the richards benchmark 3x faster and the pystone benchmark 20% faster than 2.5.1
* The posix/nt module was rewritten in Java and the performance of its often performance-critical stat function has significantly improved
* Improved OSError errno messages on Windows
* Slightly improved startup time (ongoing Issue #1380)
* Better readline module emulation (required for IPython support)
* Python functions can be directly passed to Java methods that take a single method interface (such as Callable or Runnable)
* Add google indexer (by Yin Wang and Steve Yegge)

bug修正详细列表:http://www.dzone.com/links/r/jython_252_release_notes.html

Jython详细发展路线图:http://wiki.python.org/jython/RoadMap

下载地址:http://www.jython.org/downloads.html