Jython Beta and 2.2 发布了

Jython 2.2 Beta1 版本更新带来多项改进,包括增强 Unicode 支持、新增日期时间模块、实现 Java 序列化、支持 __slots__ 功能等。此次更新还修复了大量 bug,提升了兼容性和稳定性。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

本以为已经挂了,今天无意中去逛了一下,竟然更新了,而且看了它的roadmap对以后还是挺期待的


http://www.jython.org/Project/roadmap.html

这次的更新有 :

[quote]
Jython 2.2 beta1

New features
- much improved support for __unicode__ especially in the parser (u"string" and
friends now result in a PyUnicode object)
- added datetime support using the pure python datetime.py from cpython non-dist.
- new-style classes and their instances are Java serializable
- most new-style builtin types can be pickleds
- __slots__ for new-style classes
- xml modules from pyxml readded
- comparison operations between subclasses of
builtin types tries the subclass first even if it's on the right side
Bugs fixed.
- Modules that throw exceptions while being imported aren't left
in sys.modules
- Don't allow sys.recursionlimit to be set below 0
- [ 1533624 ] NPE thrown building traceback for a call that jumps
threads
- [ 1531644 ] import * makes java exception uncatchable
- [1243049, 1218089] Can't subclass builtin types in 2.2a1
- [1256506] Importing directory module with 12+ char name fails
- [1512745] Allow arbitrary precision for formatted strings,
but only 250 chars for decimal, integer and long
- [1506749] Instance __dict__ are unassignable
- [1599004] several fixes to get the sha module up to speed
- [1616493] unicode objects can't be passed to os.path
methods
- [ 979157 ] Stack traces untrimmed
- [ 1299032 ] os.getenv out of sync with cpython
- [ 738951 ] jython slice behavior differs from python in __getattr__
- [ 610576 ] Impl of abstract method not found
- [ 1374088 ] keyword args to dict() constructor ignored
- [ 730082 ] new can't create unbound methods
- [ 1382581 ] double(s) read inaccurately from database
- [ 1603312 ] subclasses of int raise a TypeError when given large
value
- [1465476] bad parenthesis nesting terminates interpreter
- [ 1227282 ] Deadlock between PythonTraceFunction.safeCall() and
imp.import
- [ 1421812 ] Jython 2.2a and 2.1 imports directories as modules
- [ 480017 ] Proxy super classes are loaded from syspath, not the
proxy's classpath
- [ 628315 ] problem with Java synchronized lists
- [ 1284344 ] __file__ compiled into .py.class file
- [ 610576 ] Impl of abstract method not found
Patches applied.
- [906256] Follow spec for read modes of open()
- [868514] yield in finally block -- yield in nested try:except:
- [1542997] Only evaluate the second expression in an assert
if the first expression is false
- [1612711]: add iterkeys, itervalues and iteritems to
PyStringMap
- [ 1267425 ] make cStringIO work with gzip.py
- [ 1361317 ] __set__ failing on PyProperty

[/quote]
jython各个版本下载地址 版本列表 --------------------------------------------- 2.2/ 19-Oct-2009 07:57 jython-2.2-sources.jar 24-Aug-2007 10:23 682810 jython-2.2-sources.jar.md5 24-Aug-2007 10:23 128 jython-2.2-sources.jar.sha1 24-Aug-2007 10:23 136 jython-2.2.jar 24-Aug-2007 10:23 1203711 jython-2.2.jar.md5 24-Aug-2007 10:23 120 jython-2.2.jar.sha1 24-Aug-2007 10:23 128 jython-2.2.pom 24-Aug-2007 10:23 993 jython-2.2.pom.md5 24-Aug-2007 10:23 120 jython-2.2.pom.sha1 24-Aug-2007 10:23 128 2.2-beta1/ 19-Oct-2009 07:57 jython-2.2-beta1-sources.jar 06-Apr-2007 19:36 669042 jython-2.2-beta1-sources.jar.md5 06-Apr-2007 19:36 140 jython-2.2-beta1-sources.jar.sha1 06-Apr-2007 19:36 148 jython-2.2-beta1.jar 06-Apr-2007 19:36 1161993 jython-2.2-beta1.jar.md5 06-Apr-2007 19:36 132 jython-2.2-beta1.jar.sha1 06-Apr-2007 19:36 140 jython-2.2-beta1.pom 06-Apr-2007 19:36 1000 jython-2.2-beta1.pom.md5 06-Apr-2007 19:36 132 jython-2.2-beta1.pom.sha1 06-Apr-2007 19:36 140 maven-metadata.xml 06-Apr-2007 21:40 174 maven-metadata.xml.md5 06-Apr-2007 21:40 130 maven-metadata.xml.sha1 06-Apr-2007 21:40 138 2.2-beta2/ 19-Oct-2009 07:57 jython-2.2-beta2-sources.jar 12-May-2007 20:08 680973 jython-2.2-beta2-sources.jar.md5 12-May-2007 20:08 140 jython-2.2-beta2-sources.jar.sha1 12-May-2007 20:08 148 jython-2.2-beta2.jar 12-May-2007 20:08 1204367 jython-2.2-beta2.jar.md5 12-May-2007 20:08 132 jython-2.2-beta2.jar.sha1 12-May-2007 20:08 140 jython-2.2-beta2.pom 12-May-2007 20:08 999 jython-2.2-beta2.pom.md5 12-May-2007 20:08 132 jython-2.2-beta2.pom.sha1 12-May-2007 20:08 140 maven-metadata.xml 12-May-2007 21:35 174 maven-metadata.xml.md5 12-May-2007 21:35 130 maven-metadata.xml.sha1 12-May-2007 21:35 138 2.2-rc1/ 19-Oct-2009 07:57 jython-2.2-rc1-sources.jar 26-Jun-2007 20:12 682198 jython-2.2-rc1-sources.jar.md5 26-Jun-2007 20:12 136 jython-2.2-rc1-sources.jar.sha1 26-Jun-2007 20:12 144 jython-2.2-rc1.jar 26-Jun-2007 20:12 1203133 jython-2.2-rc1.jar.md5 26-Jun-2007 20:12 128 jython-2.2-rc1.jar.sha1 26-Jun-2007 20:12 136 jython-2.2-rc1.pom 26-Jun-2007 20:12 997 jython-2.2-rc1.pom.md5 26-Jun-2007 20:12 128 jython-2.2-rc1.pom.sha1 26-Jun-2007 20:12 136 maven-metadata.xml 27-Jun-2007 06:14 172 maven-metadata.xml.md5 27-Jun-2007 06:14 128 maven-metadata.xml.sha1 27-Jun-2007 06:14 136 2.2-rc3/ 19-Oct-2009 07:57 jython-2.2-rc3-sources.jar 11-Aug-2007 10:38 682816 jython-2.2-rc3-sources.jar.md5 11-Aug-2007 10:38 136 jython-2.2-rc3-sources.jar.sha1 11-Aug-2007 10:38 144 jython-2.2-rc3.jar 11-Aug-2007 10:38 1203716 jython-2.2-rc3.jar.md5 11-Aug-2007 10:38 128 jython-2.2-rc3.jar.sha1 11-Aug-2007 10:38 136 jython-2.2-rc3.pom 11-Aug-2007 10:38 997 jython-2.2-rc3.pom.md5 11-Aug-2007 10:38 128 jython-2.2-rc3.pom.sha1 11-Aug-2007 10:38 136 2.2.1/ 19-Oct-2009 07:57 jython-2.2.1-sources.jar 16-Oct-2007 17:01 684069 jython-2.2.1-sources.jar.md5 16-Oct-2007 17:01 132 jython-2.2.1-sources.jar.sha1 16-Oct-2007 17:01 140 jython-2.2.1.jar 16-Oct-2007 17:01 1204803 jython-2.2.1.jar.md5 16-Oct-2007 17:01 124 jython-2.2.1.jar.sha1 16-Oct-2007 17:01 132 jython-2.2.1.pom 16-Oct-2007 17:01 995 jython-2.2.1.pom.md5 16-Oct-2007 17:01 124 jython-2.2.1.pom.sha1 16-Oct-2007 17:01 132 2.5.0/ 19-Oct-2009 07:57 jython-2.5.0-sources.jar 14-Jul-2009 03:52 1360133 jython-2.5.0-sources.jar.md5 14-Jul-2009 03:52 132 jython-2.5.0-sources.jar.sha1 14-Jul-2009 03:52 140 jython-2.5.0.jar 14-Jul-2009 03:52 6596518 jython-2.5.0.jar.md5 14-Jul-2009 03:52 124 jython-2.5.0.jar.sha1 14-Jul-2009 03:52 132 jython-2.5.0.pom 14-Jul-2009 03:52 995 jython-2.5.0.pom.md5 14-Jul-2009 03:52 124 jython-2.5.0.pom.sha1 14-Jul-2009 03:52 132 maven-metadata.xml 19-Oct-2009 07:57 519 maven-metadata.xml.md5 19-Oct-2009 07:57 32 maven-metadata.xml.sha1 19-Oct-2009 07:57 40
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值