Debian Codegraph @

NEWS

raw
1 Jython NEWS
2
3 The features new in a given version are listed at the head of the section for
4 the final release of that version. Bugs fixed are listed under the next release
5 (frequently a beta) after they were fixed.
6
7 For more details, three sources are available according to type:
8 - [ n ], please see old bug tracker at https://bugs.jython.org.
9 - [ GH-n ], please see https://github.com/jython/jython.
10 - [ FM-n ], please see https://github.com/jython/frozen-mirror.
11
12 ==============================================================================
13 Jython 2.7.3
14 ==============================================================================
15
16 New Features
17
18 - The jython command respects the PYTHONDONTWRITEBYTECODE environment
19 variable (GH-128).
20
21 - Under PR GH-101, the matching of sequence arguments to the parameters of
22 Java methods is improved (and in constructors under GH-201). A Java
23 varargs parameter does not match a final sequence in the call if an array
24 parameter could do so. (Thanks Peter Holloway.)
25
26 - array.array itemsize of unsigned types is now the same as their signed
27 counterparts, where previously it was mostly double. Internal
28 representations have changed. Anomalies have been eliminated between
29 itemsize and the serialisation (tostring() etc.) for unsigned types, and
30 in the range of values accepted in different contexts. The size of type
31 'u' (unicode character) is 4 on all platforms. Client code that was
32 working around these anomalies may have to change. Overall, the
33 experience should be closer to that with CPython.
34
35 - We no longer aspire to compile Jython with Java 7. (We may use Java 8
36 features.)
37
38 - The project has moved its home to GitHub (twice), and invites issue
39 reports there (not at bugs.jython.org).
40
41
42 Jython 2.7.3
43 The release is the same as the rc1 (apart from the version number).
44
45 Jython 2.7.3rc1 Bugs fixed
46 - [ GH-201 ] Support vararg constructors
47
48 Jython 2.7.3b1 Bugs fixed
49 - [ GH-192 ] PyString with non-byte value in formatting of collections
50 - [ GH-183 ] Console messages do not reach root logger (bjo 2896)
51 - [ GH-178 ] Update icu4j JAR to 71.1
52 - [ GH-177 ] Update Ant to 1.10.12 (Gradle build) (CVE-2020-1945, 2021-36374)
53 - [ GH-160 ] Improve context of "Cannot create PyString with non-byte value"
54 - [ GH-159 ] Non-byte PyString error during initialisation in Turkish locale
55 - [ GH-158 ] Upgrade Bouncy Castle to 1.71
56 - [ GH-157 ] Upgrade ASM to 9.3
57 - [ GH-156 ] Replace custom SHA224 digest with Java's
58 - [ GH-151 ] Upgrade Apache Xerces to 2.12.2 (CVE-2022-23437)
59 - [ GH-150 ] Upgrade Netty to 4.1.73 (various CVEs)
60 - [ GH-138 ] Upgrade Guava to 31.0.1 (CVE-2020-8908)
61 - [ GH-139 ] Make gradlew executable on Unix/Mac
62 - [ GH-136 ] Use full path of cmd.exe (CVE-2019-17664)
63 - [ GH-129 ] Only attempt to open source/bytecode if readable (GH-93)
64 - [ GH-128 ] Support PYTHONDONTWRITEBYTECODE environment variable
65 - [ GH-125 ] Launch fails on Mac OS Big Sur (MacOS 11) (GH-172)
66 - [ GH-119 ] array.array itemsize and serialisation anomalies for unsigned types
67 - [ GH-122 ] Upgrade Apache commons-compress to 1.21
68 - [ GH-105 ] from java.util import * (etc.) not working in JDK 14+ (bjo 2792)
69 - [ GH-102 ] Fix CRC32.update calls in zlib.py
70 - [ GH-101 ] Improve boxing of arguments to vararg methods
71 - [ GH-98 ] CVE-2019-9740: CRLF injection by url parameter
72 - [ GH-97 ] Failures in SNI support affecting pip
73 - [ GH-93 ] Permissions problems with compiled source files ($py.class)
74 - [ 2892 ] from __future__ import print_function doesn't work interactively (GH-81)
75 - [ GH-77 ] Broken AST adapter
76 - [ GH-74 ] Clarify license position in relation to zxJDBC.
77 - [ GH-57 ] JavaWebStart compatibility broken
78 - [ GH-35 ] Travis CI on JDKs 8, 11, 13 and add Windows to OSes
79 - [ GH-50 ] (First) migration from Mercurial corrupted project history
80 - [ GH-49 ] Update Darwin jffi library dependency
81 - [ GH-27 ] -Q new always fails
82 - [ GH-12 ] Test classes in distributed artifacts
83 - [ GH-4 ] Swap from Mercurial to Git as our SCM tool
84 - [ GH-2 ] Transfer closed-fixed issues in NEWS from frozen-mirror
85 - [ 2924 ] module-info.class in root of JAR causes problems (also GH-54?)
86 - [ 2918 ] slim jar: missing resource file for zxJDBC (also GH-187)
87 - [ 2892 ] Migrate from hg.python.org to GitHub
88
89
90 ==============================================================================
91 Jython 2.7.2
92 ==============================================================================
93
94 New Features
95 - The main program behaves more like CPython in many small ways, including
96 a more correct treatment of the -i option. This simplifies support, and
97 may also make it unnecessary for users to work around differences from
98 CPython.
99 - python.startup registry property (and JYTHONSTARTUP environment variable)
100 added.
101 - Only the Jython command (class org.python.util.jython) now reads the
102 environment variable JYTHONPATH, not the core runtime, and it respects
103 the -E option (ignore environment). This change is for consistency with
104 CPython and with our handling of other environment variables. A pure Java
105 application that creates its own interpreter may use the system or
106 registry key "python.path" to add to sys.path, as documented.
107 - We no longer recommend overriding toString in PyObject sub-classes as a
108 way of defining string forms. Override __repr__, and if necessary __str__,
109 as is usual in Python. We recommend toString should return the same as
110 __str__ (or __unicode__).
111 - Experimentally, we use Gradle to build a JAR and POM that may be cited as
112 a dependency by other projects. The Jython project would like to know if
113 this is being done suitably for downstream use.
114 - The registry setting (or Java property) "python.verbose", and direct use
115 of the global org.python.core.Options.verbose are DEPRECATED: use a Java
116 logging properties file instead. Console messages are now produced via
117 java.util.logging (JUL), and the logger "org.python" or its descendants.
118 The jython command configures a ConsoleLogger for "org.python" and by
119 default a format for messages generally similar to that in v2.7.1,
120 preceded by the logger name and JUL severity. The volume of messages is
121 controlled by your logging preferences, but by default is unchanged from
122 v2.7.1. Each -v option on the command line makes the logging one step
123 finer on the JUL scale. Error messages from Python and stack traces are
124 unaffected. When embedded in your application, Jython makes no logging
125 configuration changes: messages from the "org.python" name space merge
126 with those of your application.
127 - There is much improved support for locale, but as a backward-incompatible
128 change, it is provided as an opt-in. Define property
129 python.locale.control=settable on the command line or via the Jython
130 registry, to enable. This may become the default in a later version.
131 - The default location of the Jython package cache has moved from the
132 installation directory to the current working directory and is called
133 ".jython_cache". Previously, Jython installed system-wide either exposed
134 the cache as world read-write (a security risk) or disabled it.
135 - BouncyCastle SSL support is incomplete as bundled. The Jython JAR is not
136 signed, and may not be trusted by your JVM as a security provider. This
137 manifests as a PEMException: "Unable to create OpenSSL PBDKF:
138 PBKDF-OpenSSL SecretKeyFactory not available" during certain operations.
139 If this is a problem, place genuine BouncyCastle JARs on the class path,
140 and Jython will use those in preference to the classes we include.
141 The slim JAR does not suffer this problem.
142
143 Jython 2.7.2rc1 Bugs fixed
144 - [ 2858 ] test_ssl failure due to embedding Bouncy Castle (doc change only)
145 - [ FM-156 ] Race condition in PyStringMap keys method
146 - [ 2862 ] Jython fails on Linux for normal user when installed by root
147
148 Jython 2.7.2b3 Bugs fixed
149 - [ 2810 ] NoSuchMethodError in test_jython_initializer (Java 10+)
150 - [ 2808 ] lib2to3 test failures on Windows JDK 11
151 - [ 2846 ] Main module __name __ is not "__main__" under Java Scripting API
152 - [ 2828 ] Update netty JARs to 4.1.45
153 - [ 2044 ] CVE-2013-2027 Current umask sets privileges of class files and cache
154 - [ 2834 ] Import of Java classes is not thread safe
155 - [ 2820 ] Import fails with UnicodeDecodeError if sys.path contains invalid UTF-8 bytes
156 - [ 2826 ] Unicode hex string decode failure
157 - [ 2836 ] Java Swing library works only in interactive jython session
158
159 Jython 2.7.2b2 Bugs fixed
160 - [ 2814 ] maven/build.xml does not PGP-sign the publication
161
162 Jython 2.7.2b1 Bugs fixed
163 - [ 2806 ] Installer contains dependencies unshaded (Java 8)
164 - [ 2666 ] Oracle JDK 7 out of support so no longer available on Travis
165 - [ 2294 ] Importation of modules from directories with non-ASCII characters fails
166 - [ 2055 ] isinstance() and issubclass() fail with abc.ABCMeta
167 - [ 2569 ] jython launcher fails on Windows if JAVA_HOME is set
168 - [ 2505 ] PySystemState is lost
169 - [ 2796 ] Request for oversize arrays not handled in BaseBytes and PyByteArray
170 - [ 2730 ] datetime.strptime('%b') behaviour inconsistent with CPython on Windows JDK 9+
171 - [ 2613 ] MANIFEST.MF contains unfilled placeholders
172 - [ 2330 ] full-build fails to copy CPython License
173 - [ 2651 ] Travis builds failing with *** buffer overflow detected ***
174 - [ 2703 ] JycompileAntTask cannot find ...ant.taskdefs.MatchingTask
175 - [ 2708 ] test_urllib2net fails (on Travis CI)
176 - [ 2764 ] Readme is not displayed when using the GUI installer
177 - [ 2345 ] Installing pip fails if JYTHON_HOME points to old installation
178 - [ 2774 ] test_ssl failures from weak certificate
179 - [ 2768 ] Allow bytearray + and += to accept buffer protocol objects
180 - [ 2742 ] JARs for bouncycastle out of date (upgrade to 1.16)
181 - [ 2762 ] Upgrade Apache commons-compress to 1.18
182 - [ GH-5 ] Updates to JNR/JFFI to improve ARM HF support
183 - [ 2445 ] Eclipse's DelegatingFeatureMap has MRO conflict (and IBM's MQQueue)
184 - [ FM-121 ] Allow struct unpack and unpack_from bytearray and buffer
185 - [ 2635 ] AST.lineno ignored by compile
186 - [ 2744 ] Support buffer type in marshal.dump(s)
187 - [ 2077 ] marshal doesn't raise error when fed unmarshalable object
188 - [ 2732 ] Regression in large module support for pip
189 - [ FM-131 ] Support Unicode in zxJDBC exceptions.
190 - [ 2654 ] Imported modules allow access to submodules
191 - [ 2362 ] Import * doesn't work on JDK9 for java.*, jdk.* namespaces
192 - [ 2630 ] Cannot import java.awt.* on Java 9
193 - [ 2663 ] Remove dependency on javax.xml.bind.DatatypeConverter
194 - [ 2726 ] os.uname() throws IllegalArgumentException on Windows (Chinese localisation)
195 - [ 2719 ] Divergence of __str__ and __repr__ from CPython
196 - [ 2714 ] Locale and java version failures in test_os_jy
197 - [ FM-111 ] Proper processing of gzip trailer without resubmission
198 - [ 2231 ] __doc__ of PyString objects is always "The most base type"
199 - [ 2230 ] Jython evaluation blocks under heavy load with high multi-core systems
200 - [ 2506 ] ensurepip is reporting an error
201 - [ 1609 ] Partial parsing does not work with function decorators
202 - [ 2494 ] Support for pydoc_data
203 - [ 2492 ] NPE for PythonInterpreter after new PyInteger
204 - [ 2707 ] jython.py shebang line invalid on Linux
205 - [ 1748 ] subprocess and os.system don't show output
206 - [ 2343 ] PYTHONPATH is overwritten on Windows
207 - [ 2346 ] Launcher not resilient to bad environment variable settings
208 - [ 2709 ] test_chdir tolerates absent DOS 8.3 filename
209 - [ 2706 ] Use python.path instead of JYTHONPATH
210 - [ 2410 ] Regression in PySystemStateTest (leading slash)
211 - [ 2639 ] Incorrect result when using != comparison against Java {List, Set, Map}
212 - [ 2672 ] Integer formatting emits two minus signs with -2^31
213 - [ 2688 ] ClassCastException when adding list of non-PyObjects
214 - [ 2659 ] Determine console encoding without access violation (Java 9)
215 - [ 2662 ] IllegalAccessException accessing public abstract method via PyReflectedFunction
216 - [ 2501 ] JAVA_STACK doesn't work (fixed for Windows launcher only)
217 - [ 1866 ] Parser does not have mismatch token error messages caught by BaseRecognizer
218 - [ 1930 ] traceback raises exception in os.py
219 - [ 2419 ] List expected failures by OS platform in regrtest.py
220 - [ 2611 ] mkdir() operation in /Lib/os.py has different behavior when running in Docker container
221 - [ 2655 ] __findattr__ is final (update documentation)
222 - [ 2646 ] Test failure in test_os_jy after utf-8 decode
223 - [ 2469 ] jython launcher fails on Windows if JAVA_HOME is set
224 - [ 2650 ] Detail message is not set on PyException from PythonInterpreter
225 - [ 2403 ] VerifyError when implementing interfaces containing default methods (Java 8)
226 - [ 2715 ] Restrict array.array support for buffer protocol
227
228 Jython 2.7.2a1 Bugs fixed
229 - [ 2632 ] Handle unicode data appropriately in csv module
230 - [ 2638 ] str not default-decoded in str-unicode operations
231 - [ 2622 ] json dumps error (use of AbstractDict)
232 - [ 2607, 2620 ] Error loading Python DLL (error code 14001)
233 - [ 2612 ] NPE while trying to load class
234 - [ 2609 ] PyType.fromClass publication race (discovered in strptime and re)
235 - [ 2608 ] Encoding problems with non-ascii host name
236 - [ 2599 ] Cannot handle network paths under Windows
237 - [ 2600 ] subprocess doesn't have _args_from_interpreter_flags (blocks support for multiprocessing)
238 - [ 2602 ] NumberFormatException in terminal on OSX 10.12.5 (ncurses related)
239
240
241 ==============================================================================
242 Jython 2.7.1
243 ==============================================================================
244
245 Jython 2.7.1rc3
246 Bugs fixed
247 - [ 2597 ] PySystemState.sysClosers requires cleanup to prevent memory leak
248 - [ 2593 ] file.write(obj) raises NullPointerException on type error
249 - [ 2592 ] Line breaks in exceptions are wrong (characters being backslash-escaped)
250
251 Jython 2.7.1rc2
252 Bugs fixed
253 - [ 2536 ] deadlocks in regrtests due to StackOverflowError in finally block (workaround, still open)
254 - [ 2348 ] site module does not import if usernames contain non-ascii characters
255 - [ 2356 ] java.lang.IllegalArgumentException on startup on Windows if username not ASCII
256 - [ 1839 ] sys.getfilesystemencoding() is None (now utf-8)
257 - [ 2579 ] Pyc files are not loading for too large modules if path contains __pyclasspath__
258 - [ 2570 ] Wrong shebang set for OS X installation of Jython
259 - [ 2585 ] test_ssl failure due to Netty exception mapping
260 - [ 2313 ] test_jython_initializer failure on Windows
261 - [ 2399 ] test_sort failure on Java 8
262 - [ 2309 ] test_classpathimporter fails on Windows.
263 - [ 2318 ] test_zipimport_jy failure on Windows
264 - [ 2571 ] Error handling in test_codecencodings_tw fails on Java 8
265 - [ 2568 ] test_threading intermittent failure
266 - [ 2559 ] test_marshal fails
267 - [ 2564 ] test_socket_jy fails on Linux
268 - [ 2524 ] datetime <-> time conversion incorrect in non UTC times
269 - [ 2504 ] datetime.date.__tojava__ returns incorrect dates in non-UTC timezones with
270 negative offset (Jython 2.7.0)
271 - [ 2500 ] Loading default cacerts on client socket when specifying a default java truststore
272 unnecessarily searches for more cacerts in the same dir
273 - [ 2561 ] win32_ver raises exception (breaks test_platform on windows)
274 - [ 2521 ] Windows installation (all) fails on Windows 10
275 - [ 2557 ] ongoing pain with platform detection via os.name and sys.platform
276 - [ 1996 ] Core slots array out of bounds with multiple inheritance
277 - [ 2101 ] Diamond-style multiple inheritance fails when using __slots__ on the second branch
278
279 New Features
280 - Updated Netty to 4.1.11, ASM to 5.2, BouncyCastle to 1.57, Commons Compress to 1.14,
281 Guava to 22.0, ICU4J to 59.1, JFFI to 1.2.15, JNR-JFFI to 2.1.5, JNR-POSIX to 3.0.41,
282 JNR-Constants 0.9.9, JLine to 2.14.3, MySQL Connector to 5.1.42, PostgreSQL to 42.1.1
283 Note:
284 You might find it strange that Jython bundles guava-22.0-android.jar rather than guava-22.0.jar.
285 This is the official way to support Java 7 with Guava > 20.0, also on non-Android platforms.
286 See https://github.com/google/guava/wiki/Release22#guava-release-220-release-notes.
287 - There is now support for non-ascii paths in all (home, installation, temporary)
288 directories, which previously caused failures. sys.getplatformencoding() returns
289 'utf-8' as the nominal file-system encoding, irrespective of localization. This may
290 differ from what CPython reports on the same OS. In Jython a file path presented
291 as bytes is the UTF-8 encoding of the unicode file path as Java sees it. (See issues
292 #1839 and #2356.) This matter is unrelated to file.encoding or the console.
293
294 Jython 2.7.1rc1
295 Bugs fixed
296 - [ 2552 ] installing scandir via pip fails (breaks e.g. installing pathlib2 via pip)
297 - [ 2534 ] os.getlogin() returns a wrong user or returns an exception
298 - [ 2553 ] sys.getwindowsversion not implemented (breaks pathlib on Windows)
299 - [ FM-55 ] Replace deprecated use of ASCII constant with ascii()
300 - [ 1777 ] Help getting SymPy working with Jython
301 - [ 2475 ] Backported python 3 pathlib and pathlib2 do not work b/c of meta class issues
302 - [ 2551 ] __slots__ in diamond-style causes lay-out conflict (breaks pathlib and sympy)
303 - [ 2550 ] test_list_jy fails on Java 8
304 - [ 2549 ] test_posix fails on Linux
305 - [ 2548 ] Unicode u'\N{name}' frequently broken, because ucnhash.dat outdated
306 - [ 2527 ] cStringIO throws IllegalArgumentException with non-ASCII values
307 - [ 2511 ] Percent operator calls __getattr__('__getitem__')
308 - [ FM-28 ] zipimporter supports multi-byte characters in pathnames
309 - [ 2228 ] Re-use "makeCompiledFilename" function where possible
310 - [ 608632 ] __doc__foo should accept java String
311 - [ 2523 ] defaultdict.__getitem__() does not propagate exceptions raised by calling
312 default_factory
313 - [ 2522 ] defaultdict.__getitem__(unhashable) raises KeyError instead of TypeError
314 - [ 2515 ] typing module doesn't import
315 - [ 2538 ] Test failures in test_unittest
316 - [ 2293 ] "java.lang.IllegalArgumentException: java.lang.IllegalArgumentException:
317 Cannot create PyString with non-byte value" triggered after adding
318 unicode element with non-ASCII character to sys.path
319 - [ 2535 ] Building jython standalone manually results in local filesystem paths
320 showing up in Jython stacktraces
321 - [ 2533 ] Opcode.java is outdated -> breaks PyBytecode.interpret
322 - [ 2502 ] Missing OpenFlags enum entry makes Jython clash with JRuby dependency
323 - [ 2446 ] Support SNI for SSL/TLS client sockets
324 - [ FM-50 ] Calling Java vararg methods with no arguments fails
325 - [ 2455 ] Java classes in packages with __init__.py not found
326 - [ 2481 ] Update urllib2.py from 2.7.11
327 - [ 2514 ] Jython Class.__subclasses__() does not match Python output (not in load order)
328 - [ 2413 ] ElementTree.write doesn't close files if used with invalid encoding
329 - [ 2443 ] java.util.Map derived classes lack iterkeys, itervalues methods
330 - [ 2516 ] _get_open_ssl_key_manager tries to validate that the private and
331 public keys match, and is throwing an SSLError:
332 "key values mismatch" when provided with multiple certs (Root/CA/Cert)
333 - [ 2314 ] Failures in test_shutil on Windows
334 - [ 2488 ] Subprocess should always join corresponding coupler threads
335 - [ 2461 ] SSL Handshake fails for peers connected via IPV6
336 - [ 2508 ] Jython non-blocking socket send() does not conform to Python's behavior.
337 - [ 2462 ] SSL Handshake never happens even if do_handshake_on_connect=True for serv
338 - [ 2487 ] PyType.fromClass deadlocks on slow systems (circleci for example)
339 - [ 2480 ] Repeating from <javapackage> import <class> results in reload
340 - [ 2472 ] Importing simplejson fails with: 'NoneType' object has no
341 attribute 'encode_basestring_ascii'
342 - [ 2471 ] Jython is using netty channel future incorrectly
343 - [ 2470 ] Jython leaks sockets in select reactor
344 - [ 2469 ] Embedded BouncyCastle provider does not validate properly
345 - [ 2460 ] Wrong result when multiplying complex numbers involving infinity
346 - [ 2454 ] Security Vulnerability in Jython
347 - [ 2442 ] Overriding __len__, __iter__, and __getitem__ in a tuple subclass
348 causes an infinite recursion
349 - [ 2112 ] time.strptime() has different default year in Jython and CPython
350 - [ 1767 ] Rich comparisons
351
352 New Features
353 - Recognize cpython_cmd property to automatically build CPython bytecode for oversized
354 functions (e.g. jython -J-Dcpython_cmd=python). This is especially convenient when
355 installing things like SymPy via pip; it would frequently prompt you to provide yet
356 another pyc-file. Now just run: pip install --global-option="-J-Dcpython_cmd=python" sympy
357 - SymPy is now workable. (However it runs somewhat slow; some profiling will be required.)
358 - Updated ucnhash to support name lookup for Unicode 9.0 (like in u'\N{name}').
359 - Jython doc-entries in Java-code (__doc__foo) now accept anything that implements
360 java.lang.CharSequence (PyString implements CharSequence now as well).
361 This allows Jython-friendly Java-code without PyString-induced dependency on Jython.
362 - Provided a painless way to deal with long-standing Issue 527524 - "Cannot compile to use
363 methods exceeding JVM size restrictions": If a CPython 2.7 bytecode-file (.pyc) exists,
364 Jython automatically uses that bytecode to represent oversized functions and methods,
365 while methods with proper size are still compiled to JVM bytecode.
366 The crucial bytecode sections from the pyc-file are embedded seamlessly into the created
367 class-file, so you wouldn't have to distribute the pyc-file at all.
368 Current implementation of this feature is provisional and might change in future versions.
369 Issue 527524 was still not listed as solved, because Jython cannot yet create the pyc-file
370 by itself.
371 - Support for CPython bytecode (.pyc-files) was updated to Python 2.7 bytecode (from 2.5).
372 - Buffer API changes allow java.nio.ByteBuffer to provide the storage when a PyBuffer
373 is exported. This is to support CPython extensions via JyNI, but has other uses too
374 (including access to direct memory buffers from Python). There is no change at the
375 Python level or for client code using PyBuffer via the "fully encapsulated" API. It
376 risks breaking code that makes direct access to a byte array via PyBuffer, implements
377 the PyBuffer interface, or extends implementation classes in org.python.core.buffer.
378 - Updated Netty to 4.1.4
379 - Fixed platform.mac_ver to provide actual info on Mac OS similar to CPython behavior.
380 - Added uname function to posix module. The mostly Java-based implementation even
381 works to some extend on non-posix systems (e.g. Windows).
382
383 Jython 2.7.1b3
384 Bugs fixed
385 - [ 550200 ] Jython does not work on ebcdic platforms
386 - [ 2457 ] Synchronization bug in PySystemStateCloser causes complete deadlock
387 - [ 2456 ] java.util.List.remove(index) does not dispatch to overloaded method for index remove
388 - [ 2453 ] org.python.modules.sre.PatternObject should be named SRE_Pattern to look like CPython
389 - [ 2452 ] Jython locking threads on Java proxy objects (multithreaded performance degradation)
390 - [ 2451 ] array.array objects should not hash
391 - [ 2441 ] sys.executable is None on standalone install, thus causing a setup()
392 install/build to fail
393 - [ 2439 ] 'SSLSocket' object has no attribute 'accept'
394 - [ 2437 ] no common ciphers SSL handshake error
395 - [ 2436 ] Missing socket.SOL_TCP (= socket.IPPROTO_TCP)
396 - [ 2435 ] Remove unsupported socket options like socket.SO_EXCLUSIVEADDRUSE
397 - [ 2434 ] zlib module has different flush behaviour than CPython and PyPy
398 - [ 2431 ] tox not working because of zero width bug in Jython sre
399 - [ 2428 ] socket.connect_ex does not properly report connection state sequence
400 - [ 2426 ] Support socket shutdown with "how" of _socket.SHUT_RDWR (2)
401 - [ 2423 ] jarray.array() method broken in 2.7
402 - [ 2421 ] UnboundLocalError: local variable 'key_store' referenced before
403 assignment in _sslverify.py
404 - [ 2417 ] os.utime fails on UNC network paths
405 - [ 2416 ] os.system does not use changes to os.environ in subprocesses
406 - [ 2401 ] SSL race produces NPE
407 - [ 2400 ] Installing pip as part of Jython installation fails
408 - [ 2393 ] Clean running regression tests on windows
409 - [ 2392 ] Intermittent errors from sre_compile.py -
410 ValueError('unsupported operand type', 'subpattern')
411 - [ 2391 ] read-only attr wrongly reported
412 - [ 2390 ] Support SSLContext
413 - [ 2374 ] setsockopt call from pika fails with "Protocol not available"error
414 - [ 2368 ] Problem with _io and BlockingIOError
415 - [ 2360 ] Not installing pip on Jython
416 - [ 2358 ] Using "read all" ops on /proc files on Linux produces empty strings
417 - [ 2357 ] Infinite recursion with set subclass
418 - [ 2338 ] readline.py startup hook
419 - [ 2329 ] Cannot create virtualenv with jython2.7rc2 - breaks tox
420 - [ 2321 ] Py.setSystemState() is a NOOP
421 - [ 2279 ] PyIterator#__tojava__ should support coercion to java array
422 - [ 2350 ] Installer errors on ensurepip
423 - [ 2276 ] Ctrl-Z doesn't exit Jython console on Windows
424 - [ 2223 ] __file__ not defined when running from ScriptEngine
425 - [ 2154 ] When running multiple engines in different threads, the last registered
426 writer is in use for all script executions.
427 - [ 2124 ] xml.dom.minidom.writexml() changes value of TEXT_NODE
428 - [ 1984 ] os.pipe() missing
429 - [ 1953 ] lib2to3 missing
430 - [ 1780 ] jarray not properly converted to list with java.util.Arrays.asList(T... a)
431 - [ 1739 ] JSR223: ScriptEngine.FILENAME not honoured
432 - [ 1738 ] JSR223: ScriptEngine.ARGV is not honoured
433
434 New Features
435 - Use latest upstream bundled wheels for ensurepip: pip (7.1.2), setuptools (18.4),
436 replacing wheels patched specifically for Jython
437 - Unified PyDictionary and PyStringMap under a common abstract base class.
438 - Added Py.newJ method family for easier access to Python code from Java. Now you
439 can coerce Python types under Java interfaces without needing to inherit from
440 the Java-interface in Python code. Also see PyModule.newJ.
441
442 Jython 2.7.1b2
443 Bugs fixed
444 - [ 2396 ] test_threading and others fail under Cygwin (sys.executable).
445 - [ 2397 ] test.test_os_jy fails on Windows due to non-byte PyString.
446 - [ 2405 ] os.getpid() is missing (JNR JARs updated).
447
448 Jython 2.7.1b1
449 Bugs fixed
450 - [ 1423 ] Circular imports no longer cause RuntimeError.
451 - [ 2310 ] test_import runs on Windows (and passes with 4 skips).
452 - [ 2347 ] failures in test_import_pep328 when run with -m
453 - [ 2158, 2259 ] Fixed behaviour of relative from ... import *
454 - [ 1879 ] -m command now executes scripts from inside a jar file
455 - [ 2058 ] ClasspathPyImporter implements PEP 302 get_data (and others)
456 - [ 2364 ] bytearray and str: isalpha(), isupper() etc. now match Python 2
457
458 ==============================================================================
459 Jython 2.7
460 ==============================================================================
461
462 Jython 2.7rc3
463 Bugs fixed
464 - [ 2311, 2319 ] Many compatibility fixes for launcher (bin/jython, bin/jython.exe)
465 - [ 2332 ] jython -m test.regrtest -e now finds the tests it should
466 - [ 1572 ] sys-package-mgr console messages silenced by default. Thanks to Emmanuel Jannetti.
467 - [ 2327 ] Tests in org/python/tests/imp run only with proper path
468 - [ 2105 ] Fix inconsistent conversion of PyObject to String in StdoutWrapper
469 - [ 1795 ] Support both subclassing from Java in a Python class and a Python implementation of __tojava__
470 - [ 1861 ] Fix threading.Lock to support non-reentrant semantics
471 - [ 2323 ] Fixes pickling issues in object.__reduce__ and cPickle.{load, loads}
472 - [ 1540 ] Fix stack overflow due to how proxies for Java classes resolve super method in Java
473 - [ 2325 ] Enable piping input into Jython without getting extraneous prompt output
474 - [ 2324 ] Fix index computation for StringBuilder after seek back in cStringIO
475 - [ 2171 ] Fixed direct calls to __pow__() on int, long and float with a modulo of None
476 - [ 2326 ] Java's weakly consistent iteration of ConcurrentMap is compatible with mutation
477 - [ 2322 ] Refreshed several networking modules from CPython 2.7.9 due to CVE-2013-1752
478 - [ 1670 ] Added automatic type coercion of decimal.Decimal to java.lang.{Double, Float}
479 - Pull in hand coded AST work into code gen in asdl_antlr
480 - [ 2307 ] Fixed normalization of paths on Windows
481 - Module tempfile now returns temporary directory in proper case (See also CPython issue 14255)
482 - Faster extended slice deletion in bytearray.
483 - [ 2304 ] Fixed __module__ missing from functions in the time and operator modules
484
485 Jython 2.7rc2
486 Bugs fixed
487 - [ 2301 ] time.strftime now always returns a bytestring (fixes pip on Japanese locales)
488 - [ 2297 ] Updates Jython installer to use jython.exe
489 - [ 2298 ] Fix setuptools wheel bundled by ensurepip so it checks for Windows on Jython
490 - [ 2300 ] Fix bin/jython.py to not consume subcommand args
491
492 New features
493 - Installer installs pip, setuptools by default, but custom builds can de-select.
494 Does not change standalone usage. (Runs jython -m ensurepip as last install step.)
495 - Makes jython.py be the default launcher (as bin/jython) if CPython 2.7 is available.
496
497 Removed support
498 - Installer no longer supports using an alternative JRE when generating Jython launchers.
499 Instead just use JAVA_HOME environment variable to select the desired JRE.
500 (Removed because of the new native launcher, jython.exe, that is now used on Windows.)
501
502 Jython 2.7rc1
503 Bugs fixed
504 - [ 1793 ] Fix relative seek in read/write mode via a non-buffered readinto() method
505 - [ 2282 ] Speed up startup with compiled $py.class files included for standalone, full jars
506 - [ 1371, 2283, 2296 ] More robustness wrt security managers, python.home, import of non-ascii names
507 - [ 2068 ] Use position(long) setter to manually update file channel's position post-write.
508 - [ 2288 ] Posix link and symlink support now uses NIO2
509 - [ 2120 ] Use Java instead of JNR for os.chmod, os.mkdir when running on Windows
510 - [ 2226 ] Matches CPython's re support of what counts as a Unicode whitespace codepoint
511 - [ 1725 ] Speed up re matching by not executing SRE_STATE#TRACE in the sre regex engine
512 - Exceptions with non-ascii args should not cause an exception when displayed on console
513 - [ 2274 ] Remove Jython-specific pythonpath, test_pythonpath; update pwd to support unicode
514 - [ 2289 ] Ensure core types are Serializable, specifically PyUnicode
515 - [ 2272 ] Generalize adding special slots (__dict__, __weakref__); adds support for Werkzeug
516 - [ 2280 ] Avoid deadlock at shutdown with synchronization of PySystemStateCloser, FinalizeTrigger
517 - [ 2275 ] Upgrade JLine to support keyboard layouts using AltGr (such as Finnish) on Windows
518 - Improve robustness of socket and SSL support, especially error handling
519 - time.sleep(0) should always attempt to yield CPU
520 - [ 2271 ] Restore __tojava__ to datetime.{date, datetime, time} classes
521 - [ 2084, 1729 ] Robust handling of sun.misc.Signal exceptions across various JVM implementations
522 - [ 2189 ] Add java_user scheme to support user directory installs
523 - Fix Popen._internal_poll so that it does not race with java.lang.Process finalization
524 - Fix reflection-based garbage collection traversal for CPython compatible gc semantics
525 - [ 1491 ] Windows launcher now uses jython.exe (built with PyInstaller) instead of jython.bat
526 This means that pip, nosetests, yolk, and other installed tool scripts finally work on Windows
527
528 New features
529 - Can add a __dict__ slot descriptor to a subclass of Java classes, such as java.util.HashMap
530 - Directly execute zip files or dirs with top level __main__.py to support wrapper scripts
531 generated by distlib, part of pip
532 - Reflection-based traversal is now activated by default as a fallback for ordinary traversal.
533 This impacts third-party extenders of PyObject. A warning is emitted that suggests next steps
534 on how to avoid this cost.
535 - Uses classpath wildcard in jython.py/jython.exe to minimize the launcher command line,
536 (main benefit is Jython developers on Windows using dev builds)
537 - Adds new Jython launcher written in Python, bin/jython.py, to be run by CPython 2.7
538
539 Jython 2.7b4
540 Bugs Fixed
541 - [ 2032 ] Fixed typo in compiler/pycodegen.py
542 - [ 2190 ] Raise ValueError when unichr() is called with isolated surrogate codepoint
543 - [ 1057 ] Finalizer support (__del__) for new style classes
544 - [ 2192 ] Server requests were hanging using jython, django and django-jython
545 - [ 2204 ] Minimum (core) install will now support Jython console
546 - [ 2184 ] inspect.callargs, including anonymous tuples in function params
547 - [ 2100 ] Fix deficiencies in PyUnicode beyond the BMP
548 - Fix bug in supporting meta path importers for six
549 - [ 2183 ] Rework function attributes support
550 - [ 2115 ] Allow bound methods as arg for single method interface param
551 - [ 2163 ] Refactor Py, PySystemState to init constants early
552 - [ 2217 ] Update serial release to 3 for sys.version_info
553 - [ 2090, 1494 ] Behaviour of long in the JSR-223 engine
554 - [ 2196 ] Do not emit duplicate entries in building standalone jar
555 - [ 1708 ] Ensure regrtest runs in a C locale to avoid failures
556 - [ 2037 ] Prevent non-byte values appearing in str()
557 - [ 2205 ] Guard via module import lock all entry points from Java into import
558 - [ 1631 ] Fully proxy java.util.Map objects as Python dicts
559 - [ 2215 ] Fully proxy java.util.List objects as Python lists
560 - [ 2242 ] select.select and related socket.connect_ex fixes
561 - [ 2241 ] Fully proxy java.util.Set objects as Python sets
562 - [ 2239, 1825 ] os.getenv, os.listdir may return unicode instead of bytes
563 - [ 2110 ] Update Java Native Runtime jars
564 - [ 2236 ] Interactive parser does not accept try ... except E as e: syntax
565 - [ 2232 ] Visit class decorators when visiting class def in scopes compilation
566 - [ 2247 ] dict.pop should not add additional quoting in KeyError
567 - [ 2238 ] os.system now uses a simpler wrapping of ProcessBuilder
568 - [ 1561 ] Raises NotImplementedError if abstract method from Java is not implemented
569 - [ 2221 ] Implement Popen.pid
570 - [ 2150 ] Fix regrtest to support -x to exclude tests
571 - [ 1152612 ] All dict methods for __dict__ except views
572 - [ 1762054 ] Add webbrowser module
573 - [ 2252 ] Args in sys.argv are now unicode if characters > 127
574 - [ 2092 ] Upgrade to JLine2 and add tab completion support
575 - [ 2236 ] Interactive parser does not accept try ... except E as e: syntax
576 - [ 2237 ] Fully conformant math and cmath support
577 - [ 2244 ] More robust testing of math and cmath modules
578 - [ 2224 ] id(...) now persists object resurrection and a pattern is provided to solve similar issues
579 (i.e. attributes bound to a PyObject via a WeakHashMap) in an analogue way (See JyAttribute.java).
580
581 New features
582 - Full support of Python buffer protocol, along with Java ByteBuffer support
583 - Add index to PyUnicode facilitating O(1) access to strings beyond the BMP.
584 - java.util.{Map, List, Set} are now treated as subclasses of the
585 corresponding Python abstract base classes
586 - jythonlib module to simplify usage of Java internals from Python;
587 weakref collections now directly use corresponding collections from
588 Google Guava and java.util
589 - CPython's _json.c was ported to Java to speed up JSON encoding/decoding
590 - Upgraded third party libraries
591 - Initial support for ensurepip module
592 - Callbacks can be registered/unregistered to be notified when
593 bytecode is loaded, using jythonlib.bytecodetools
594 - Jython now features an optional, but recommended-to-implement traverseproc-mechanism
595 like CPython. This enables some new gc-features to optionally emulate CPython-specific
596 gc-behavior. See doc in gc.java and Traverseproc.java.
597
598 Potentially backwards breaking changes, removing silent errors:
599
600 - remove method on proxied List objects now follows Python
601 semantics: a ValueError is raised if the item is not found in the
602 java.util.List. In the past, Java semantics were used, with a
603 boolean returned indicating if the item was removed or
604 not. Given how this interacted with Jython, such remove
605 invocations were in the past silent, and perhaps were actually a
606 bug.
607
608 - d[key_not_present], if d implement java.util.Map, no longer
609 returns None, but raises KeyError, which means this behavior now
610 matches standard dict semantics.
611
612 - Abstract methods of an inherited class or interface from Java now raise
613 NotImplementedError, instead of returning None (in Java, null) or some
614 "zero", if they are not implemented in the extending Python class.
615
616 - os.getenv, os.listdir, sys.argv now return unicode instead of
617 str values if a given value is not ascii, thus allowing such
618 values to be passed through to Java, eg
619 java.io.File(sys.argv[1]). Earlier such behavior was potentially
620 silently failing in Python functions, but passing through to
621 Java because of bug 2037. This behavior conforms with Python
622 3.x, which uses Unicode.
623
624 Jython 2.7b3
625 Bugs Fixed
626 - [ 2225 ] Jython+django-jython - no module named site
627 - [ 1497 ] ast classes do not have appropriate base classes
628 - [ 1980 ] ast.Eq, ast.Gt, ast.GtE, ast.In, ast.Is, ast.IsNot, ast.Lt, ast.LtE, ast.NotEq and ast.NotIn should be subclasses of ast.cmpop
629 - [ 1981 ] ast.And and ast.Or should be subclasses of ast.boolop
630 - [ 2130 ] Fix max such that any raised ValueError uses the correct error message text
631 - [ 2180 ] default encoding is not UTF-8
632 - [ 2094, 2147, 2174 ] Fix bugs in select.poll, threadpool group closing, and SSL handshaking
633 - [ 2178 ] Update Apache Commons Compression to 1.8.1 for jar-complete builds
634 - [ 2176 ] Fix bz2.BZ2File.read so it reads the number of requested bytes
635 - [ 2028 ] Implement unicode._formatter_parser and unicode._formatter_parser
636 - [ 1747 ] Synchronize runClosers upon shutdown
637 - [ 1898 ] Support subprocess termination vs terminate/kill methods
638 - [ 2096 ] Fix subprocess construction such that handles are inherited if not set
639 - [ 2123 ] Preserve original name of console encoding
640 - [ 1728 ] Make PyDictionary#equals() more robust, similar to PyTuple and PyList
641 - [ 2040 ] Ensure that bz2 decompression has enough data to decode
642 - [ 2146 ] Fix xrange compliance
643 - [ 1591 ] Interactive interpreter stuck on '...' loop
644 - [ 1982 ] Modify enumerate such that it can it work with arbitrarily long integers
645 - [ 2155 ] Enable IP address objects to be used as tuples
646 - [ 1991 ] Subclassed itertools classes can now chain, and be iterated by Java code
647 - [ 2062 ] os.write accepts objects having the buffer API
648 - [ 1949 ] Update collections.deque to 2.7 compliance, and is now threadsafe
649 - [ 1066 ] Add CJK codecs, as well as other codecs available in Java but not in Jython directly
650 - [ 2112 ] time.strptime now uses _strptime.py
651 - [ 2123 ] Use Java codec throughout parser (not sometimes a Python one)
652 - [ 2078 ] Fix tuple creation for inet6 addresses, and support for bound inet4 socket local address
653 - [ 2088 ] Fix defaultdict so that derived classes __missing__ methods are not ignored
654 - [ 2108 ] Cannot set attribute to instances of AST/PythonTree (blocks pyflakes)
655 - [ 1982 ] builtin function enumerate() should support an optional 'start' argument
656 - [ 1896215 ] findResource(s) for SyspathJavaLoader
657 - [ 2140 ] Raise ValueError on args of invalid domain for math.sqrt, math.log
658 - [ 2119 ] Updated *Derived.java classes as generated by src/templates/gderived.py.
659 - [ 2087 ] Updated defaultdict to use LoadingCache idiom instead of deprecated ComputingMap
660 - [ 2133 ] Fix memory leak by doing computed loads only with __getitem__ in defaultdict
661 - Full bz2 support
662 - Fix the struct module so that struct.Struct class can be derived from.
663
664 Work on resource cleanup
665 - RefReaperThread is now a Runnable to avoid ClassLoader resource leaks
666 - ShutdownCloser is now a Runnable to avoid subclass audit issues under a SecurityManager
667 - Remove shadowing of mutable statics in PySystemState, instead make them instance variables
668 - Fix PySystemState such that it supports AutoCloseable, Closeable
669
670 Potentially backwards breaking changes
671 - Fix ThreadState so that Jython runtime can be unloaded, using Object[1] indirection
672 - Use weakkey/weakvalue when caching ThreadState for a given thread, instead of using ThreadLocal
673 - recursion_count is now more approximate, because not all entry/exit pairs are tracked
674 - By default, site module is imported when using PythonInterpreter
675 Use -Dpython.import.site=false (as of RC1) to not import site at all
676
677 New Features
678 - Added socket reboot work, using Netty 4 to fully support socket, select, and ssl API
679
680 Jython 2.7b2
681 Bugs Fixed
682 - [ 1753 ] zlib doesn't call end() on compress and decompress
683 - [ 1860 ] test failures in test_array.py
684 - [ 1862 ] cStringIO does not support arrays as arguments
685 - [ 1876 ] PYTHONIOENCODING unsupported, used (among others) by PyDev
686 - [ 1926 ] Adjust MutableSet.pop test so we do not need to skip it
687 - [ 1964 ] time.strptime() does not support %f in format
688 - [ 2005 ] threading.Event object's wait([timeout]) function returns null instead of True/False.
689 - [ 2013 ] %x hex formatting takes O(N^2) time.
690 - [ 2020 ] str.translate should delete characters in the second arg when table is None
691 - [ 2027 ] Discrepancy in bin(-num) output
692 - [ 2033 ] test_strptime fails: test_mar1_comes_after_feb29_even_when_omitting_the_year
693 - [ 2046 ] sys.stdin.readline() hangs when used interactively (JLine, Windows)
694 - [ 2060 ] Thread ident missing
695 - [ 2071 ] datetime strftime %f does not work
696 - [ 2075 ] Incorrect padding for hex format strings
697 - [ 2082 ] Unexpected (Pdb) prompt during regression tests
698 - [ 2083 ] os.unlink() can delete directories
699 - [ 2089 ] sys.stdout not flushed after sys.exit
700
701 New Features
702 - Command line option -E (ignore environment variables)
703 - Environment variable PYTHONIOENCODING, and corresponding registry items
704
705 Removed support
706 - No longer supports Java 6; the minimum version is now Java 7
707
708 Jython 2.7b1
709 Bugs Fixed
710 - [ 1716 ] xrange slicing raises NPE.
711 - [ 1968 ] Fixes for test_csv.py.
712 - [ 1989 ] condition.notify_all() is missing.
713 - [ 1994 ] threading.Event doesn't have is_set method fixed.
714 - [ 1327 ] ThreadState needs API cleanup work
715 - [ 1309 ] Server sockets do not support client options and propagate them to 'accept'ed client sockets.
716 - [ 1951 ] Bytecode Interpreter stack optimization for larger arguments
717 - [ 1894 ] bytearray does not support '+' or .join()
718 - [ 1921 ] compiler module broken in Jython 2.7
719 - [ 1920 ] Backport CO_FUTURE_PRINT_FUNCTION to Lib/compiler/pycodegen.py
720 - [ 1914 ] Float formatting broken in many non-English locales in Jython 2.7
721 - [ 1909 ] attrgetter does not parse dotted attributes
722 - [ 1924 ] Implement operator.methodcaller
723 - [ 1934 ] Break itertools.compress into a separate class
724 - [ 1933 ] Break itertools.cycle into a separate class
725 - [ 1932 ] Make check for iterability in chain() arguments lazy
726 - [ 1931 ] Check that there are exactly 2 filter args
727 - [ 1913 ] Support short -W options
728 - [ 1897 ] 2.7.0ax only has partial ssl support
729 - array_class in jarray module returns the "Array of a type" class
730
731 New Features
732 - bytearray complete
733 - a buffer API
734 - memoryview
735 - bz2 module
736
737 Jython 2.7a2
738 Bugs Fixed
739 - [ 1892 ] site-packages is not in sys.path
740
741 Jython 2.7a1
742 Bugs Fixed
743 - [ 1880 ] Sha 224 library not present in Jython
744
745 Jython 2.5.4rc2
746 Bugs Fixed
747 - [ 2017 ] jython.bat script pollutes environment! (variables)
748 - [ 1899 ] Fix to platform.py to correctly avoid a warning message on Windows.
749 - [ 1988 ] API for threading.condition fails to accept *args for acquire
750 - [ 1753 ] zlib doesn't call end() on compress and decompress
751 - [ 1971 ] platform.py - 'NoneType' object has no attribute 'groups'
752 - [ 1988 ] API for threading.condition fails to accept *args for acquire
753
754 Jython 2.5.4rc1
755 Bugs Fixed
756 - [ 1936 ] JBoss 7, vfs protocol in use for jarFileName in PySystemState.
757 - [ 1972 ] jython 2.5.3 sys.stdin.readline() hangs when jython launched as subprocess on Mac OS X.
758 - [ 1962 ] Interactive console in Jython 2.5.3 needs CRTL-D to execute command.
759 - [ 1676 ] NPE in defaultdict
760 - [ 1481 ] jython throws java.lang.IllegalArgumentException instead of ValueError.
761 - [ 1716 ] xrange slicing raises NPE.
762
763 Jython 2.5.3rc1
764 Bugs Fixed
765 - [ 1952 ] __import__(): Handling of non-dict globals argument incompatible with CPython
766 - [ 1900 ] Python imports from Java cause some Python imports to fail
767
768 Jython 2.5.3b3
769 Bugs Fixed
770 - [ 1754 ] modjy does not provide appropriate wsgi.input file-like object
771
772 Jython 2.5.3b2
773 Bugs Fixed
774 - [ 1908 ] Patch for 'Unmapped exception: java.net.NoRouteToHostException'
775 - [ 1871 ] Relative import in module gets imported to top level (regression)
776 - [ 1854 ] set().pop() race condition
777 - [ 1730 ] functools.partial incorrectly makes __doc__ property readonly
778 - [ 1537 ] expat: org.python.apache.xerces.parsers.SAXParser
779 - [ 1268 ] SAX parsers wants to load external DTDs, causing an exception
780 - [ 1805 ] threading.Thread always gets name "Thread" instead of a discriminating one
781 - [ 1866 ] Parser does not have mismatch token error messages caught by BaseRecognizer
782 - [ 1837 ] gderived.py and template Ant target fail on Windows
783 - [ 1536 ] NPE in org.python.jsr223.PyScriptEngine:187
784 - [ 1640 ] cStringIO does not complain on getvalue after close
785 - [ 1721 ] NPE when using JSR 223 (TestCase+Patch)
786 - [ 1749 ] function descriptor doesn't work in interactive console
787 - [ 1816 ] Jython Interactive Console makes system beep noise too much
788 - [ 1829 ] test_socket.py failing on Ubuntu (Oneiric)
789 - [ 1844 ] bad host returned by getsockname
790
791 Jython 2.5.3b1
792 Bugs Fixed
793 - [ 1835 ] Fix typo: occurred
794 - [ 1727 ] Error in Jython 2.5.2 with os.stat and varargs
795 - [ 1735 ] return type of os.read is unicode, not str
796 - [ 1755 ] os.utime('/tmp/nonexistent-file', None) fails to raise OSError
797 - [ 1768 ] sax.parse doesn't handle attributes with name 'id' correctly
798 - [ 1803 ] _tcpsocket doesn't have 'family' attribute
799 - [ 1804 ] _tcpsocket doesn't have 'type' and 'proto' attributes
800 - [ 1809 ] socket.getaddrinfo sometimes returns an object that crashes in __str__
801 - [ 1811 ] Recursive import bug w/ SQLAlchemy 0.7.3
802 - [ 1819 ] Incorrect handling of Java object toString methods returning null
803 - [ 1824 ] os.link() can silently fail
804 - [ 1825 ] EnvironmentError.filename is `str` even if original name is `unicode`
805 - [ 1828 ] Problems inheriting from long
806 - [ 1833 ] Trouble passing Python objects through a Java class back to Python
807
808 Jython 2.5.2
809 same as 2.5.2rc4
810
811 Jython 2.5.2rc4
812 Bugs Fixed
813 - [ 1667 ] thread.local subclasses with constructor params fail
814 - [ 1698 ] warnings module fails under JSR-223
815 - [ 1697 ] Wrong error message when http connection can not be established
816 - [ 1210 ] Lib/socket.py doesn't allow IPv6 sockets and fails with an AssertionError
817 - [ 1700 ] "virtualenv is not compatible" to 2.5.2rc3
818 - [ 1701 ] Files are not flushed properly when opened from the EDT (partial fix)
819 New Features
820 - The socket module now includes ipv6 support
821 - The socket module now also includes Internationalized Domain
822 Names (RFC 3490) support on Java 6
823
824 Jython 2.5.2rc3
825 Bugs Fixed
826 - [ 1674 ] PDB crashes under the JSR-223 scripting engine
827 - [ 1680 ] jython -c option is not parsed right
828 - [ 1681 ] JSR-223, Jython 2.5.2 and implementing Java Interfaces from Python
829 - [ 1675 ] Jython exits prematurely when executing a file, thus killing Swing windows
830 - [ 1682 ] exit code of 0 on unhandled exception
831 - [ 1668 ] strptime('','') works on cpython but not on jython
832 - [ 1693 ] Unicode sys.path elements cause UnicodeErrors on import
833
834 Jython 2.5.2rc2
835 Bugs Fixed
836 - [ 1665 ] cPickle calls __import__ with illegal parameters
837 - [ 1628 ] getpass.getpass echoes input
838 - Fix logic to detect that a console is interactive (related to #1133)
839
840 Jython 2.5.2rc1
841 Bugs Fixed
842 - [ 1133 ] Support ipython and other completers with readline emulation
843 - [ 1642 ] JSR223 PyScriptEngine#getInterface returns a NPE when called with zero args
844 - [ 1662 ] time.strptime does not use Java date format strings properly
845 - [ 1543 ] PyArray fails to clean up pre-allocated space
846 - [ 1661 ] Error at on exit in TCC/LE
847 - [ 1639 ] JBoss 5, vfszip protocol in use for jarFileName in PySystemState
848 - [ 1660 ] threading module memory leak
849 - [ 1452 ] pydoc help() function fails because sys.executable is None in stand-alone Jython
850 - [ 1568 ] sys.stdout.encoding returns wrong value in Windows with Jython 2.5.1 (fixed on Java 6 only)
851 - [ 1647 ] zxJDBC does not handle NVARCHAR
852 - SocketServer module now supports ephemeral server ports (by using port 0); see discussion for #1660
853
854 Jython 2.5.2b2
855 Bugs Fixed
856 - [ 1327 ] Classloaders cannot GC, which exhausts permgen (partial bug fix)
857 - [ 1604 ] PyBuiltinCallable.Info should be serializable
858 - [ 1397 ] Bugs in PyList and PyJavaType.ListIndexDelegate slice setting
859 - [ 1503 ] Java constructors should take keyword arguments
860 - [ 1648,1495,1516 ] Incomplete implementation of pep328 for relative imports
861 - [ 1611 ] Jython bytecode violated JLS, causing NPE on Sun's JVM when using -Xcomp option
862 - [ 1643 ] Tools subdirectory still exists in trunk
863 - [ 1455 ] Classes loaded dynamically from sys.path do not have their package defined
864 - [ 1555 ] Jython does not publish MIME types via JSR 223 (ScriptEngine.getFactory().getMimeTypes() is empty).
865 - [ 1632 ] cPickle.Unpickler does not allow assignment of find_global
866 - [ 1395 ] PyList.indexOf() and PyTuple.indexOf() do not function properly
867 - [ 1373 ] Jython ClassLoader getResource does not work
868 - [ 1506 ] Jython applies PEP263 pattern for determining source-code encoding on noncomments
869 - [ 1630 ] threading.Thread lacks __tojava__ method
870 - [ 1558 ] PyFunction to single method interface wrapping does not handle java.lang.Object methods
871 - [ 1622 ] array type prevents __radd__ fallback
872
873 Jython 2.5.2b1
874 Bugs Fixed
875 - [ 1559 ] time.strptime broken for day of week for Sunday
876 - [ 1614 ] minidom chunks the character input on multi-line values
877 - [ 1615 ] Can't invoke Java method that takes a variable number of arguments with zero arguments
878 - [ 1605 ] float preference over PyComplex as arg to __call__ breaks logic
879 - [ 1586 ] weakref reference count leak when kwargs are used
880 - [ 1601 ] Can't serialize PyCode object
881 - [ 1551 ] Java objects cannot be copied by the copy module
882 - [ 1375 ] XML SAX: attrs.get((None, 'attr')) gives NPE
883 - [ 1488 ] sax JyInputSourceWrapper does not support unicode strings
884 - [ 1510 ] minidom is not parsing comment information correctly
885 - [ 1549 ] Wrapping an InputStream with a PyFile wrongly carries out line-ending translation.
886 - [ 1583 ] xml.dom.Node.data returns bytestrings of decoded unicode
887 - [ 1515 ] modjy sometimes adds None to the sys.path
888 - [ 1507 ] modjy crashes if any query string parameters are not set with '='
889 - [ 1473 ] modjy servlet doesn't import site-packages by default
890 - [ 1474 ] modjy servlet doesn't call atexit handlers
891 - [ 1225 ] socket.getservbyname/port() not yet supported
892 - [ 1532 ] Cannot use docstring when defining class
893 - [ 1530 ] BoolOp in multiple assign causes VerifyError
894 - [ 1478 ] defaultdict & weakref.WeakKeyDictionary [TypeError: first argument must be callable]
895 - [ 1487 ] Import of module with latin-1 chars fails on utf-8 file encoding
896 - [ 1449 ] Ellipsis comparison different from Python 2.5 to Jython 2.5
897 - [ 1493 ] tarfile.extractall() throws "AttributeError: 'module' object has no attribute 'chown'" when called by root
898 - [ 1470 ] os.mkdir Errno difference from cpython
899 - [ 1496 ] fix os.listdir errno for non-existing dirs
900 - [ 1499 ] PostgreSQL datahandler should return Decimals instead of floats for NUMERIC/DECIMAL columns
901 - [ 1477 ] os.setpgrp and posix.setpgrp fail with TypeError
902 - [ 1396 ] Assigning os module funcs as class attributes incompatible with CPython
903 - [ 1504 ] Inheriting twice from the same Java interface causes MRO problems
904 - [ 1511 ] PySet doesn't support Java serialization
905 - [ 1426 ] JSR 223 Bindings changes not taking effect and leaking between threads; unnecessary synchronization
906 - [ 1548 ] Parentheses in CLASSPATH cause errors in jython.bat
907 - [ 1576 ] files opened in 'a+' mode not readable
908 - [ 1563 ] unicode() for Java objects working differently in 2.2 and 2.5
909 - [ 1566 ] os.popen(cmd).read() returns `\r\n` as newline on Windows with Jython 2.5
910 - [ 1517 ] TypeError: get_referrers
911 - [ 1502 ] string-escape codec incorrect
912 - [ 1534 ] new style object __dict__[name] ignored
913 - [ 1479 ] xml parser file lock
914 - [ 1582 ] com.ziclix.python.sql.PyConnection leaks memory
915 - [ 1520 ] os.listdir doesn't return unicode when requested
916 - [ 1483 ] optparse std module dies on non-ASCII unicode data
917 - [ 1390 ] ihooks fails due to unimplemented methods in imp module
918 - [ 1456 ] sys.trace/profile attributes cause: AttributeError: write-only attr: trace in PyAMF
919 - [ 1385 ] generator.throw uncaught on new generator doesn't stop the generator
920 - [ 1596 ] SynchronizedCallable does not report that it is callable [suggested fix]
921 - [ 1557 ] jython.bat doesn't work in 4nt
922 - [ 1567 ] [Windows] Wildcard Parameter * gets expanded to filename
923 - [ 1594 ] Glob patterns like *.txt processed incorrectly on startup
924 - [ 1356 ] [Windows] test_subprocess test_communicate_pipe_buf fails
925 - [ 1595 ] [patch] CachedJarsPackageManager cannot write cache for packages in jar over 64k
926 - [ 1522 ] repeated execution of external python scripts causing PermGen out of memory exception
927 - [ 1251 ] select() fails when selecting on a file descriptor
928 - [ 1233 ] couldn't make directories when installing django in jython on Windows
929 - [ 1260 ] Why is asyncore.py so different?
930 - [ 1236 ] Django 1.0.2 jython setup.py install fails in 2.5b1 (ok in 2.5b0)
931 - [ 1263 ] importing * from java-class fails
932 - [ 1252 ] StackOverflow when name referenced before global declaration and run as a script
933 - [ 1275 ] Jython doesn't load directories of JARs
934 - [ 1278 ] socket.py error wording nitpick
935 - [ 1249 ] Trace function is not called with an exception event exactly when the exception occurs
936 - [ 1282 ] Java serialization problem
937 - [ 1289 ] os.path.isdir(path) return 0 instead of False
938 - [ 1290 ] 600x slower network download speed with urllib.urlretrieve() or urllib2.urlopen() compared to CPython
939 - [ 1299 ] NullPointerException without any clues
940 - [ 1277 ] jython applets & jythonc
941 - [ 1273 ] ImportError: No module named os
942 - [ 1308 ] Calling sys.exit() in a spawned thread fails to exit.
943 - [ 1346 ] compiler.transformer uses parser which is not defined
944 - [ 1347 ] socket Level 6 not supported
945 - [ 1321 ] distutils breakage with the setup.py of mercurial
946 - [ 1310 ] Serialization problem for wrapped Java objects
947 - [ 1600 ] jython dict() behaving differently from cpython's.
948 - [ 1269 ] windows jython.bat fails in 2.5b2
949 - [ 1266 ] PythonInterpreter does not have setOut(StringWriter)
950 - [ 1283,1284 ] File resource leaks in pkgutil
951 - [ 1246 ] KeyError: 'twisted.internet.reactor'
952 - [ 1265 ] Possible problem with subclasses of Java classes, constructors, and reflection
953 - [ 1124 ] os.popen variants hang when executed command produces a lot to stderr
954 - [ 1291 ] select() crashes with IOException
955 - [ 1317 ] list.count considers tuples and lists to be equal
956 - [ 1297 ] Methods inherited from a Java class are not overridden properly
957 - [ 1285 ] [2.5b3] respectJavaAccessibility = false makes some Java class method signatures inaccessible from Jython
958 - [ 1254 ] jython.jar (2.5b1) conflicts with previous version (2.2)
959 - [ 1238 ] randomly select() exception on 2.5b1
960 - [ 1259 ] jython 2.5b1 trunk failing manage.py validate
961 - Fix runtime issues during exitfuncs triggered via SystemRestart (such as
962 during Django or Pylons development mode reloading)
963 - Fix pickling of collections.defaultdict objects
964 - Fix the cmath module to accept objects implementing the __float__ method
965 New Features
966 - Performance improvements around method invocation. 2.5.2 runs
967 the richards benchmark 3x faster and the pystone benchmark 20%
968 faster than 2.5.1
969 - The posix/nt module was rewritten in Java and the performance of
970 its often performance-critical stat function has significantly
971 improved
972 - Improved OSError errno messages on Windows
973 - Slightly improved startup time (ongoing Issue #1380)
974 - better readline module emulation (required for IPython support)
975 - Python functions can be directly passed to Java methods that
976 take a single method interface (such as Callable or Runnable)
977 - Add google indexer (by Yin Wang and Steve Yegge)
978
979 Jython 2.5.1rc3
980 Bugs Fixed
981 - [ 1466 ] wrong handling of append only files
982
983 Jython 2.5.1rc2
984 New Features
985 - zxJDBC supports the with-statement: connections are committed or rollbacked; cursors are closed
986 Bugs Fixed
987 - [ 1079 ] fixed regression on issue: twisted.python.threadable module: missing attribute '_RLock'
988 - [ 1461 ] assert statement should lookup AssertionError using getglobal
989 - [ 1425 ] distutils/util.py assumes too much posix
990 - [ 1457 ] Cannot write an array in a file opened in r+b mode.
991 - [ 1382 ] __cmp__ on certain types raises ArrayStoreException
992 - [ 1443 ] Can't update() hashlib.sha1() with array.array('c')
993 - [ 1444 ] Can't zlib.compress() with array.array('c')
994 - [ 1458 ] Builtin codecs aren't available without standard lib
995
996 Jython 2.5.1rc1
997 New Features
998 - Upgraded to ANTLR 3.1.3
999 - [ 1859477 ] Dynamically loaded ServletFilters like PyServlet
1000 - Built in JSR 223 scripting engine, with LiveTribe JSR 223 implementation for JDK 5
1001 - Jython "-J-classpath cp_args_here" now works as expected for unix shell.
1002 Bugs Fixed
1003 - [ 645615 ] cannot import through symbolic links
1004 - [ 1366 ] parsing of lambda expression fails
1005 - [ 1365 ] continuation lines fail in interactive interpreter
1006 - [ 1377 ] Event names shadowed by a field name on Java types leads to a NPE
1007 - [ 1381 ] Redundant declarations of interface implementation hides overridden methods
1008 - [ 1189 ] MD5 hash is incorrectly calculated when string contains non-latin chars and using python md5 lib
1009 - [ 1802339 ] Problem printing unicode when stdout intercepted
1010 - [ 1145 ] Jython 2.5 compatibility problem with JSR 223
1011 - [ 1400 ] Evaluating expression via JSR 223 ScriptEngine returns null instead of True/False
1012 - [ 1413 ] Array data type (PostgreSQL) is not supported (NPE)
1013 - [ 1434 ] Cannot get return code from a process started with os.popen with Jython 2.5 (worked in 2.2)
1014 - [ 1391 ] socket.getaddrinfo() breaks ftplib FTP client
1015 - [ 1409 ] JSR-233 engine version numbers backwards
1016 - [ 1408 ] JSR-223 engine doesn't implement I/O redirection
1017 - [ 1393 ] TypeError: _new_impl(): expected 1 args; got 0
1018 - [ 1415 ] ast Node creation fails with no arg constructors
1019 - [ 1405 ] Executing __run__.py from .jar throws exception(SystemExit: 0) in main when sys.exit(0) is called
1020 - [ 1439 ] Can't write() array.array
1021 - [ 1139 ] crashes on isinstance
1022 - [ 1430 ] Oracle JDBC Connection close
1023 - [ 1406 ] Parsing a simple PEP 342 coroutine crashes Jython 2.5
1024 - [ 1407 ] ClassCastException in plain Python coroutine
1025 - [ 1424 ] Relative imports do not work in some cases
1026
1027 Jython 2.5.0
1028 The same as rc4.
1029
1030 Jython 2.5.0 rc4
1031 Bugs fixed
1032 - [ 1354 ] core language failures in interactive interpreter
1033 - [ 1358 ] Simple program fails to parse in Jython 2.5rc3, but parses OK with CPython
1034 - [ 1357 ] no sys.executable when script runner is a relative link
1035 - [ 1338 ] Comparing Java objects to each other fails when classes of values do not match
1036 - [ 1363 ] Deep inheritance from a Java class causes MRO problems
1037 - [ 1333 ] attribute wrongly deemed 'write-only' if setter comes from an interface
1038 - [ 1364 ] SimpleHTTPServer.py contains call to missing os.fstat
1039 - [ 1367 ] PIpes (popen2) do not flush their buffer
1040 - [ 1368 ] '\xe4'.decode('utf-8') does not raise UnicodeDecodeError but returns u''
1041 - [ 1372 ] No default drive in Windows file paths
1042 - Fix file's repr with Windows paths
1043 - Fix urllib and urllib2 path handling on Windows
1044 - Fix r'\Jython25' not considered an abspath on Windows
1045 - Fix handling of raw unicode escapes
1046 - Fix mishandling of the bytecode's tagged mtime in zipimport and when
1047 recompiling due to stale bytecode
1048 - Fixed minor short term memory leaks in functions on some lists allocated
1049 inline
1050 - Updated imp.APIVersion to 23 as some compiler changes occurred since the
1051 last update.
1052
1053 Jython 2.5.0 rc3
1054 Bugs fixed
1055 - [ 1344 ] setName semantics of threading.Thread different to CPython
1056 - Fixed JLine console on cygwin
1057 - [ 1348 ] muti-threaded issue, maybe threads cannot exit
1058
1059 Jython 2.5.0 a0 - rc2
1060 Bugs fixed (new numbering due to move to Roundup)
1061 - [ 1188 ] Patch against trunk to handle SecurityExceptions
1062 - [ 1271 ] Bean property accessors in derived class override methods in base class
1063 - [ 1264 ] 'is not' test exhibits incorrect behaviour when wrapping Java objects
1064 - [ 1295 ] Setting a write-only bean property causes a NPE
1065 - [ 1272 ] ASTList ClassCastException
1066 - [ 1261 ] jython -c "import sys; sys.exit(1)" not giving correct exit code.
1067 - [ 1215 ] extra spaces in import statement break importing
1068 - [ 1126 ] ImportError raised for Java subpackages import
1069 - [ 1111 ] keyword arguments not supported on __import__
1070 - [ 1567212 ] Jython $py.class bytecode doesn't include the .py's mtime
1071 - [ 1024 ] Jython $py.class bytecode doesn't include the .py's mtime
1072 - [ 852818 ] Wrong error message when the second+ parameter to Java wrong
1073 - [ 1222877 ] duplicate keyword arguments
1074 - [ 1168 ] ast module not working
1075 - [ 1192 ] deserialization of Jython classes extending Java classes fails when called from Java
1076 - [ 1243 ] Running scripts from standalone jar with __run__.py broken
1077 - [ 1237 ] Asnycore does not seem to work in Jython 2.5 (b0 or b1)
1078 - [ 1257 ] Pickling (protocol 2) doesn't use overridden itervalues() on dict-derived classes
1079 - [ 1245 ] modjy passes HTTP headers as unicode objects to the WSGI app
1080 - [ 1258 ] select() semantics differ from CPython, causing pydoc HTTPd to fail
1081 - [ 1043 ] Special broadcast host address <broadcast> is not supported.
1082 - [ 1121 ] listening socket shutdown expects the wrong kind of socket
1083 - [ 1244 ] Problem letting system choose the port for binding UDP socket
1084 - [ 1241 ] Assignment to static variable shadows value
1085 - [ 1234 ] Java classes' MRO resolution can throw an NPE
1086 - [ 1231 ] 2.5b1 breaks XML DocumentBuilderFactory (in particular, Weblogic 10.3)
1087 - [ 1230 ] importing with '*' from java packages does not work with 2.5b1
1088 - [ 1242 ] Tuples allow member assignment
1089 - [ 1239 ] Package scanning seems to depend on import order in jython-2.5b1
1090 - [ 1235 ] java.awt.Frame - problem w/ attributes
1091 - [ 1240 ] Can't import _jython, but it's listed in the built-in modules
1092 - [ 1217 ] decompressing a malformed stream with zlib results in a java.util.zip.DataFormatException instead of a zlib.error
1093 - [ 1227 ] The cStringIO.StringIO.write implementation does not handle write/seek/write's correctly.
1094 - [ 1232 ] Inherited java bean properties not recognized correctly
1095 - [ 1229 ] os.utime fails in Jython2.5b1
1096 - [ 1228 ] Add version for 2.5b1 to Issue (Bug) tracker
1097 - [ 1051 ] socket does not define AF_UNSPEC and AI_PASSIVE constants
1098 - [ 1218 ] Socket timeouts on connect not honoured when timeout set through socket.setdefaulttimeout()
1099 - [ 1747126 ] CLASSPATH not searched correctly for python source modules
1100 - [ 1008 ] Jython broken on Java Web Start 1.6
1101 - [ 1181 ] Patch against trunk to make applets work again
1102 - [ 1122 ] os.kill is not implemented
1103 - [ 1154 ] socket.settimeout not working for recv
1104 - [ 1171 ] Creating a PyFile from an InputStream is broken.
1105 - [ 1211 ] Telnetlib.expect crashes when a timeout parameter is given.
1106 - [ 1182 ] Patch to Lib/socket.py to fix broken SSL
1107 - [ 1083 ] jython2.5a1 installer does not create "cachedir" directory
1108 - [ 1063 ] RuntimeError expected when stack overflows
1109 - [ 1205 ] list comprehension difference to python
1110 - [ 1166 ] TypeError: utimes(): 3rd arg can't be coerced to long
1111 - [ 1025 ] imp.find_module can't find builtin modules
1112 - [ 1758318 ] StackOverflow if __nonzero__ returns self
1113 - [ 1815110 ] eval and excec should accept mapping type for locals
1114 - [ 600790 ] Overriding automatically defined methods
1115 - [ 1201 ] Lack of Python line numbers in Java tracebacks
1116 - [ 1658599 ] headless installation not detected
1117 - [ 1161 ] imp.find_module can't find many modules (was: pylint & logilab ASTNG library)
1118 - [ 1199 ] zipimporter should be smarter about what files it tries to access
1119 - [ 1180 ] virtualenv broken on installed Jython
1120 - [ 1196 ] failure of dir() on instances of a class with __getattribute__
1121 - [ 1194 ] with_statement: context __exit__ not called for return
1122 - [ 1187 ] JYTHON_OPTS broken in jython.bat
1123 - [ 1758319 ] bool should not be subclassable
1124 - [ 1011 ] ant task to create launcher script
1125 - [ 1137 ] ArrayType missing in Jython 2.5a3
1126 - [ 1058 ] Carlo Verre's object.__setattr__ hack allows modification of built in types
1127 - [ 1222918 ] -C NONE causes exception
1128 - [ 1604258 ] copy.copy doesn't work on subclasses of newstyle classes
1129 - [ 1798554 ] zlib.__doc__ is not showing any output
1130 - [ 1798556 ] patch for :[ 1798554 ] zlib.__doc__ is not showing any outpu
1131 - [ 1003 ] struct packing inconsistent with CPython
1132 - [ 1052 ] __int__ returning PyLong = ClassCastException mayhem
1133 - [ 1167 ] random.py in standard library is broken in 2.5beta0
1134 - [ 1138 ] __file__ reflects original source location, not the pathname of the $py.class file
1135 - [ 1174 ] NPE on PythonInterpreter.eval()
1136 - [ 1173 ] undefined sys.prefix breaks initialization
1137 - [ 1177 ] utf-8 codec isn't?
1138 - [ 1835099 ] Bug in list.sort()
1139 - [ 1141 ] Incorrect __import__ calls
1140 - [ 1780767 ] Fix for [ 1768075 ] %c formats values outside of the
1141 - [ 1115 ] __lt__ in a derived list produces a StackOverflowError
1142 - [ 1062 ] Doctest does not work against unicode strings
1143 - [ 1783868 ] __ge__ or __gt__ of subclass of str --> StackOverflowError
1144 - [ 1125 ] not valid JAVA_HOME path
1145 - [ 1777567 ] Type of reflected methods is different for Java and Python
1146 - [ 513713 ] PyTableCode != PyCode
1147 - [ 526672 ] inspect not supported
1148 - [ 1754240 ] Error Message when attempting to bind to an in use Port
1149 - [ 1159 ] custom number and float: unsupported operand type(s) for *
1150 - [ 1158 ] compile() fails to recognize initial AST arg
1151 - [ 1155 ] inet_ntoa missing from socket
1152 - [ 1150 ] Nested generator expressions do not compile
1153 - [ 1113 ] Syntax + Compiler Error
1154 - [ 1157 ] Support pylint
1155 - [ 1156 ] rfc822.py incompatible with PyFile(java.io.InputStream istream)
1156 - [ 1128 ] java.lang.String should be mapped to PyUnicode, not PyString
1157 - [ 1111 ] keyword arguments not supported on __import__
1158 - [ 1114 ] Compiler Error - null pointer
1159 - [ 1134 ] Built-in functions should be of type types.BuiltinFunction
1160 - [ 1075 ] os.rmdir deletes file
1161 - [ 1136 ] Parsing a module fails if it ends with whitespace but no newline
1162 - [ 1131 ] repr not 100% CPython compliant
1163 - [ 1626844 ] fixes for failing binascii unit tests (2.3 branch)
1164 - [ 1838658 ] 'platform' module is not available
1165 - [ 1663711 ] 32767 characters is max string constant size
1166 - [ 1847091 ] del statement doesn't work on builtin modules
1167 - [ 1768969 ] filter doesn't return passed in subclass type
1168 - [ 1047 ] xml.dom.pulldom doesn't work
1169 - [ 1835109 ] Patch for [ 1835098 ] No decimal module available in jython
1170 - [ 1768970 ] pyget used instead of __getitem__ in __iter__, filter
1171 - [ 1768968 ] unicode bom isn't recognized to indicate unicode for parsing
1172 - [ 1785475 ] patch for bug IDs 1768970, 1782565 & 1783868
1173 - [ 1738411 ] Unable to change function sys.settrace
1174 - [ 1761111 ] Patch for PEP 292 Simpler String Substitutions
1175 - [ 1835119 ] 'platform' module is not available in jython
1176 - [ 1840479 ] coding: utf-8 and PEP 0263?
1177 - [ 1835098 ] No decimal module available in jython
1178 - [ 1717492 ] os.path.ismount incompletely implemented
1179 - [ 1067 ] class / function call behaviour (Jython vs. CPython)
1180 - [ 1091 ] Interactive Interpreter parser doesn't handle docstrings
1181 - [ 1022 ] Class definitions aren't provided a __module__ variable
1182 - [ 1120 ] invalid socket shutdown gives AssertionError, should be "transport endpoint not connected" socket.error
1183 - [ 1119 ] socket module has no attribute SO_ERROR
1184 - [ 1081 ] Jython 2.5a1 standalone installer hangs
1185 - [ 1123 ] Weird "unexpected at this time" error.
1186 - [ 1070 ] Standalone crashes with ZipException
1187 - [ 1077 ] Standalone installation fails
1188 - [ 1094 ] mismatched input class parsing error on "class" attributes of a java object
1189 - [ 1015 ] unicode string combination with % behaves unexpectedly
1190 - [ 1758279 ] Java classes exposed as Python classes but have no __module__
1191 - [ 1116 ] parser NPE on dotted (more than 1) attribute decorators
1192 - [ 1758325 ] str's formatter doesn't raise TypeError if given wrong type
1193 - [ 1095 ] AttributeError raised from __getattr__ method are swallowed
1194 - [ 1106 ] os.getpid() call missing
1195 - [ 1104 ] subprocess.Popen doesn't inherits os.environ to the spawned processes
1196 - [ 1041 ] AttributeError raised from descriptors __get__ method are swallowed
1197 - [ 1869347 ] TypeError while used derived class of long for comparison
1198 - [ 1072 ] Parsing error in file with white space at the end
1199 - [ 1045 ] PyBoolean.__tojava__(Object.class) should return a Boolean
1200 - [ 1044 ] Patch to support for BigIntegers and PyLong on the PostgresqlDataHandler
1201 - [ 1054 ] Patch: Fastpath for cursor.executemany()
1202 - [ 1053 ] Better string interpolation with unicode args
1203 - [ 1804011 ] classes extending dict can't be compared to dict
1204 - [ 1889394 ] UnicodeDerived's == is broken
1205 - [ 1060 ] deriveds don't support coerce
1206 - [ 1650802 ] _csv module
1207 - [ 1092 ] Parser problems on Django tree
1208 - [ 1050 ] Don't display banner/prompts when stdin is not a tty
1209 - [ 1069 ] setuptools: 'NoneType' object has no attribute 'startswith'
1210 - [ 1093 ] Installer 2.5a1 on MS Windows: Incorrect jar is referred to in bin/jython
1211 - [ 1605009 ] str subclasses can be used in raise
1212 - [ 1079 ] twisted.python.threadable module: missing attribute '_RLock'
1213 - [ 1088 ] Existing .py$class files from Jy2.2 cause error for Jy2.5a
1214 - [ 1086 ] Handling of """quoted strings""" for 2.5a differs from Jy2.2 and Py2.5
1215 - [ 1087 ] assert error message at end of Python script differs from Py2.5
1216 - [ 1082 ] asm parser can't handle PySourceColor module
1217 - [ 1767742 ] array.array('xx') should throw TypeError, not ValueError
1218 - [ 1076 ] 2.5a1 jython.bat doesn't work from Windows explorer
1219 - [ 1059 ] Possible to construct long(None)
1220 - [ 1873148 ] list.__iadd__ not switching to __radd__ on NotImplemented
1221 - [ 1056 ] Bad mro() overrides not caught
1222 - [ 1886758 ] from __future__ import division leaks out of namespace
1223 - [ 1879935 ] cPython/Jython different os.path.isabs() behavior
1224 - [ 1879984 ] cPython/Jython different os.path.realpath() behavior
1225 - [ 1879989 ] cPython/Jython different os.path.abspath() behavior
1226 - [ 1605006 ] __doc__ descriptor on new style class returned directly
1227 - [ 1639663 ] Patch for [ 1605006 ] __doc__ descriptor on new style class
1228 - [ 1803960 ] Attribute Error :- 'slice' object has no attribute 'indice
1229 - [ 1802863 ] zipfile.is_zipfile never returns False
1230 - [ 678557 ] cgi parsing of multipart/form-data broken
1231 - [ 1840038 ] patch for PyUnicode (fixes [ 1782565 ])
1232 - [ 1754222 ] raising SystemExit in a thread causes jython to quit
1233 - [ 811908 ] OutOfMemoryError causes exit without a call to a handler
1234 - [ 654142 ] NPE when converting __dict__ to list
1235 - [ 515497 ] method instance not unique key in dict
1236 - [ 718377 ] PyObject.__findattr_ throws NPE
1237 - [ 753790 ] struct module inconsistent with CPython
1238 - [ 1009477 ] Python collections should implement java interfaces
1239 - [ 1599050 ] fileinput os.fstat fix
1240 - [ 1676293 ] metaclass __init__ dct reference
1241 - [ 1038 ] Custom KeyErrors raised from __getitem__ are swallowed
1242 - [ 1039 ] AttributeError message on type instances doesn't match the CPython message
1243 - [ 1048 ] List Comprehension in finally throws NPE
1244 - [ 1037 ] float(None) throws AttributeError instead of TypeError
1245 - [ 1814929 ] Patch for [ 1814904 ] dict.update() doesn't accept arguments
1246 - [ 1814904 ] dict.update() doent accept the same arguments as constructor
1247 - [ 947306 ] 2.3a0 bug in weakref.WeakValueDictionary
1248 - [ 1016 ] Support socket.TCP_NODELAY
1249 - [ 1033 ] zlib.adler32 computes wrong values
1250 - [ 1797751 ] patch for :[ 1796272 ] partition and rpartition methods are
1251 - [ 1796272 ] partition and rpartition methods are missing in jython
1252 - [ 1040 ] KeyError.__str__ doesn't use repr()
1253 - [ 1036 ] make Jython set pass (almost) all CPython tests
1254 - [ 1035 ] set incorrectly raises TypeError when asked for superset/subset on non-set iterables
1255 - [ 1034 ] can't supply dict() for globals in FunctionType()
1256 - [ 1782565 ] Mismatch in repr of obj of unicode and subclass of unicode
1257 - [ 1510227 ] difference between repr() and __repr__()
1258 - [ 1501932 ] hasattr invokes __getattr__
1259 - [ 1775263 ] patch for bug [1768979]:hasattr,getattr
1260 - [ 1768979 ] hasattr, getattr allow unicode identifiers
1261 - [ 1780153 ] Fix for [ 1768075 ] %c formats values outside of the
1262 - [ 1768075 ] %c formats values outside of the size of a single char
1263 - [ 1803425 ] new builtin function :- sorted() - a new builtin sorted() act
1264 - [ 1758282 ] complex missing __coerce__
1265 - [ 1777684 ] int and long types are missing __coerce__
1266 - [ 1785415 ] patch for : [ 1777684 ] int and long types are missing __coe
1267 - [ 1514533 ] PyComplex in branch 2.3
1268 - [ 1783088 ] patch for :[ 1758282 ] complex missing __coerce__
1269 - [ 1758284 ] Complex parses complex('1' * 500) as (Infinity+0j)
1270 - [ 1779428 ] patch for : [ 1758284 ] Complex parses complex('1' * 500) as
1271 - [ 1671213 ] pickle/cPickle of Sets bug
1272 - [ 1019 ] Can't change new-style class __name__
1273 - [ 1013 ] jython crash with command: threading.local()
1274 - [ 1009 ] Patch to add 'at' to the repr string.
1275 - [ 1005 ] UDP Socket implicit create and unbound socket timeout
1276 - [ 1755346 ] imp missing lock_help
1277 - [ 1758322 ] List mutation during sort doesn't throw a ValueError
1278 - [ 1006 ] __import__ fromlist doesn't get processed
1279 - [ 1782548 ] UDP send blocks with reader thread present
1280 - [ 1895736 ] cleanup os.environ
1281 - [ 1717491 ] os.path.islink incompletely implemented
1282 - [ 1718450 ] Patch for os.path.islink bug 1717491
1283 - [ 1718975 ] Patch for os.path.normcase bug 1648449
1284 - [ 1648449 ] os.path.normcase broken in Windows
1285 - [ 1814527 ] patch for [1803425], [1758322], [1785366] and upgraded sort
1286 - [ 1861985 ] extending java classes from python code fails
1287 - [ 1871739 ] fix for Import Error statement to match CPython
1288 - [ 1870039 ] Debugging facility not behaving correctly with threads
1289 - [ 1757127 ] Jython hangs under PyDev debugger
1290 - [ 1839038 ] operations returning bools still return 1/0s
1291 - [ 1861973 ] importing modules from class broken
1292 - [ 1861974 ] patch for [1861973]. problems loading $py.class files
1293 - [ 1850722 ] socket.py - ClientCookie and ClientForm
1294 - [ 1482645 ] More OS recognition
1295 - [ 1509095 ] Can't open midi sequencer
1296 - [ 1850207 ] socket._fileobject - AttributeError: 'module' object has no
1297 - [ 1816103 ] org.python.core.PyDictionary should implement java.util.Map
1298 - [ 1721204 ] there is no threading.local()
1299 - [ 1841639 ] Filecmp module is not in jython
1300 - [ 1842984 ] Py.tojava(PyObject, Class) incorrectly marked deprecated
1301 - [ 1841445 ] NPE in PythonInterpreter.get(String name, Class javaclass)
1302 - [ 481404 ] CR removed on reading text on unix
1303 - [ 1159156 ] codec.open() does not work with different systemstates
1304 - [ 1261231 ] JButton('\u0F00') not working
1305 - [ 1674190 ] exec() destroys multibyte string
1306 - [ 1599900 ] Incorrect usage of String.getBytes()
1307 - [ 1611604 ] PyFile hand-edited code
1308 - [ 1839871 ] dict shouldn't call __setitem__ to initialise
1309 - [ 1816134 ] Issue with Key Comparison in Dicts
1310 - [ 1818353 ] sliceLength of PySequence returns 0 when step is sys.maxint
1311 - [ 1791931 ] slice should be a type
1312 - [ 1812122 ] NullPointerException when rethrowing an exception
1313 - [ 1814678 ] Lack of some public functions' names in __all__ (javaos.py)
1314 - [ 1796415 ] javaos.py missing removedirs function
1315 - [ 1796425 ] javaos.py missing renames function.
1316 - [ 1838358 ] Improve Resolution in time.clock()
1317 - [ 1818393 ] why using Deprecated method in PyString?
1318 - [ 1783692 ] Implementation of tempfile with secure files
1319 - [ 1755344 ] tempfile missing mkdtemp
1320 - [ 1817908 ] Broken link for corner icon in html documentation
1321 - [ 1831710 ] PyFileCloser throws NullPointerException on shutdown
1322 - [ 1744567 ] Simultaneous read & write on socket FileWrapper causes hang
1323 - [ 1806980 ] os.path.join ignores empty string
1324 - [ 1812913 ] File read converts \r to \n
1325 - [ 1781500 ] Metaclasses don't get passed a '__module__' in attrs
1326 - [ 1801802 ] JavaImportHelper not thread safe
1327 - [ 1800378 ] object.__unicode__ should it exist?
1328 - [ 1768982 ] sys.exc_clear is missing
1329 - [ 1735774 ] Redirecting stdout/err with os.popen fails if cmd is unicode
1330 - [ 1763263 ] os.utime(path, None) doesn't work (incl. a patch)
1331 - [ 1758904 ] I added doc strings for functions in os module (javaos.py).
1332 - [ 1768074 ] str.replace doesn't handle an empty string to be replaced
1333 - [ 1799328 ] Unicode string interpolation doesn't work
1334 - [ 1773865 ] Patch for [1768990] pickle fails on subclasses
1335 - [ 1768990 ] pickle fails on subclasses of builtin types
1336 - [ 1782493 ] On cli $ ./jython --version missing java version number
1337 - [ 1783153 ] Patch: compatibility with Java 1.3 for Jython 2.2
1338 - [ 1755361 ] file missing 'U' universal newline mode
1339 - [ 1782856 ] Error in zxJDBC.Timestamp()
1340 - [ 1767194 ] Wrong namespace in xmllib in 2.2rc3 (patch included)
1341 - [ 1783803 ] patch for bug [1775893] :in keyword
1342 - [ 1775893 ] in keyword does not use dict.has_key()
1343 - [ 1783960 ] can not exclude parts from installation
1344 - [ 1785638 ] ImportError from zip without source
1345 - [ 1783554 ] CPython compatible zipimporter
1346 - [ 1775078 ] Fix binary operations on str/unicode/lists/tuples
1347 - [ 1781556 ] Support list.extend(iterator), and other sequence fixes
1348 - [ 1784564 ] Add PyLong.asInt
1349 - [ 1768984 ] sys.builtin_module_names is missing
1350 - [ 1768988 ] isinstance, issubclass allow a StackOverflow
1351 - [ 1291509 ] cPickling bug
1352 - [ 1758315 ] org.python.modules.operator lacks is and is_not functions
1353 - [ 1758312 ] date and time objects fail to pickle
1354 - [ 1758317 ] bool objects fail to pickle
1355
1356 Incompatible Changes
1357 - The python.prepath property has been removed; use python.path instead.
1358 - To implement the Java Map interface, PyDictionary.values now returns a
1359 Collection instead of a PyList
1360 - The -E codec command line option (use a different codec when reading from
1361 the console) has been changed to -C codec
1362 - import of Python modules does not imply the import of child modules, though
1363 import of Java packages still does, see email thread with Guido van Rossum,
1364 Samuele Pedroni, and Frank Wierzbicki:
1365 http://www.mailinglistarchive.com/[email protected]/msg07683.html
1366
1367 New Features
1368 - PyDictionary now implements Map so it may be passed to any Java function expecting a Map.
1369 - modjy integrated into core
1370 - The interactive interpreter now uses JLine by default
1371 Ported Modules
1372 - _ast
1373 - cmath
1374 - collections
1375 - csv
1376 - filecmp
1377 - functools
1378 - hashlib
1379 - itertools
1380 - threading.local
1381 - zipimport
1382
1383 Jython 2.2.2 rc1
1384 Bugs fixed (new numbering due to move to Roundup)
1385 - [ 1048 ] List Comprehension in finally throws NPE
1386
1387 Bugs fixed (old sourceforge numbering)
1388 - [ 1806980 ] os.path.join ignores empty string
1389 - [ 1744567 ] Simultaneous read & write on socket FileWrapper causes hang
1390 - [ 1831710 ] PyFileCloser throws NullPointerException on shutdown
1391 - [ 1817908 ] Broken link for corner icon in html documentation
1392 - [ 1850722 ] socket.py - ClientCookie and ClientForm (and urllib2)
1393 - [ 1841445 ] PythonInterpreter.get(String name, Class javaclass) throws
1394 an NPE if name isn't defined
1395 - [ 1839871 ] dict calls __setitem__ on subclasses in initialization
1396 - [ 1816134 ] str uses its own __eq__ instead of deferring to subclasses
1397 - [ 1796425 ] os.renames missing
1398 - [ 1796415 ] os.removedirs missing
1399 - [ 1814678 ] os.__all__ missing many functions
1400 - [ 1812122 ] NullPointerException when rethrowing an exception
1401 - [ 1830916 ] PyException doesn't store causal Java exception
1402
1403 Jython 2.2.1
1404 Identical to 2.2.1 rc2
1405
1406 Jython 2.2.1 rc2
1407 Bugs fixed
1408 - Python files are parsed using the JVM's default encoding
1409 - [ 1800378 ] __unicode__ ignored on subclasses of builtin types
1410 - [ 1801802 ] JavaImportHelper not thread safe
1411 - python.console.encoding is silently ignored if the JVM doesn't support the given encoding
1412
1413 Jython 2.2.1 rc1
1414 Bugs fixed
1415 - Reading and writing on files would run data through the JVM's default charset
1416 - Include the row number where an exception occurred while using a zxJDBC cursor
1417 - [ 1766527 ] in keyword doesn't work on os.environ
1418 - [ 1767194 ] xmllib applies default namespace to attributes incorrectly
1419 - [ 1768074 ] str.replace doesn't handle an empty string to be replaced
1420 - [ 1775893 ] in keyword does not use dict.has_key()
1421 - [ 1782493 ] jython --version doesn't show the java version number
1422 - [ 1782856 ] zxJDBC.Timestamp returns hours in AM/PM not 24 hour time
1423 - [ 1783960 ] can not exclude parts from text-mode installation
1424 - [ 1799328 ] string formatting doesn't call __unicode__ on %s in unicode objects
1425 - [ 1763263 ] os.utime(path, None) doesn't work (incl. a patch)
1426 - [ 1758904 ] I added doc strings for functions in os module (javaos.py).
1427 - [ 1735774 ] Redirecting stdout/err with os.popen fails if cmd is unicode
1428 - [ 1773865 ] Patch for [1768990] pickle fails on subclasses
1429 - [ 1783153 ] Patch: compatibility with Java 1.3 for Jython 2.2
1430
1431 Jython 2.2
1432 Identical to 2.2 rc3
1433 Jython 2.2 rc3
1434 New Features
1435 - Added telnetlib from CPython
1436 - Added cpython_compatible_select to select. See
1437 http://wiki.python.org/jython/SelectModule for information on when
1438 to use it.
1439 - Several more java.nio exceptions are mapped to their corresponding
1440 Python error codes when thrown.
1441 Bugs fixed
1442 - recv on closed sockets threw an exception instead returning the
1443 empty string
1444 - A PySystemState being garbage collected caused System.out and
1445 System.in to be closed. This would cause 'print' to stop working.
1446 - Closing a FileWrapper on a socket closes its underlying socket
1447 - Sockets just have their [In|Out]putStreams closed instead of being
1448 properly shutdown by shutdown()
1449 - SO_REUSEADDR is reset on sockets from a server socket's accept call
1450 causing later binds to the server socket's port to fail.
1451 - Client sockets that have bind called before connect don't respect
1452 SO_REUSEADDR
1453 - [ 1758838 ] execfile() throws a NullPointerException in the interactive
1454 console
1455
1456 Jython 2.2 rc2
1457 Bugs fixed
1458 - [ 931129 ] jython -jar some-path/test.jar fails
1459 - [ 1719528 ] -c doesn't put the empty string in sys.path
1460 - [ 1746957 ] Weird 'uu' prefix for unicode
1461 - [ 1747092 ] Failed imports should not be "cached"
1462 - [ 1742770 ] urllib.urlopen('http://inv') -> UnknownHostException
1463 - [ 1745068 ] select gives confusing message when given blocking sockets
1464 - [ 1744775 ] umlauts displayed incorrectly in installer
1465 - timeouts on socket client connects were not being honoured
1466 - a float could not be passed as milliseconds to select.poll.poll
1467
1468 Jython 2.2 rc1
1469 New features
1470 - Completely rewritten socket module and new select module using java.nio
1471 which allows the use of SSL and non-blocking sockets.
1472 - Explicit imports of Java classes like 'from java.net import URL' or
1473 'import java.net.URL' work with package scanning disabled.
1474 Bugs fixed
1475 - [ 1708080 ] float("1d") -> 1.0 (not ValueError as expected)
1476 - [ 1661700 ] os.path.abspath raises IOException if drive not accessible
1477 - [ 1662689 ] os.path.abspath eliminates symlinks
1478 - [ 1717498 ] os.path.splitdrive does nothing for Windows drives
1479 - [ 1622207 ] _weakref.ref(o) only works if the argument is hasheable
1480 - [ 1735864 ] Parser not threadsafe
1481 - [ 1722306 ] OverflowError in UDP Socket Implementation
1482 - [ 1348645 ] socket.py send() requires too many arguments
1483 - [ 998602 ] urllib : https request does not work
1484 - [ 621180 ] module socket _udpsocket close bug
1485
1486 Jython 2.2 beta2
1487 New features
1488 - All functions in __builtin__ are new style functions instead of reflected
1489 functions
1490 - Classmethods added to newstyle classes
1491 - array is a newstyle class
1492 - org.python.util.JLineConsole provides readline-like functionality with
1493 JLine without requiring native readline
1494
1495 Bugs fixed
1496 - [ 1599012 ] current directory is prepended to entries in sys.path
1497 - [ 1654484 ] Initializing PyJavaClass for java.lang.OutOfMemory causes a further OutOfMemory problem
1498 - [ 1661679 ] types.UnicodeType is str
1499 - [ 1659819 ] Joining unicode items with string doesn't create unicode
1500 - [ 1603253 ] Thread's setDaemon setting does not work
1501 - types module uses newstyle classes
1502 - [ 1671134 ] '%s' % u'x' returns str object
1503 - [ 1672800 ] __import__('module', None) raises AttributeError
1504 - [ 1576036 ] Fix: SyspathJavaLoader file reader causes importerror
1505 - [ 1605847 ] co_filename set in bytecode doesn't match __file__
1506 - [ 1603312 ] subclasses of int raise a TypeError when given large value
1507 - [ 1603315 ] str missing object keyword arg
1508 - [ 1603747 ] Multiple InteractiveInterpreter share same setErr/Out
1509 - [ 1619040 ] dict.fromkeys() should take iterable
1510 - [ 1658647 ] type(x) calls x.__class__.__init__
1511 - [ 1699556 ] SAXException descends from Java's Exception instead of Python's
1512 - [ 1603686 ] Unmarshaling long-error
1513 - [ 1230674 ] eval with from future does not work through import
1514 - [ 663592 ] Problems calling an overridden class in the constructor
1515 - [ 448398 ] open('test.txt', 'w').write('test') fails
1516 - [ 1671373 ] A "$_PyInner.class" file in a package causes import to fail
1517 - [ 1671431 ] dir function does not work with database connection object
1518 - [ 1713513 ] os.environ fails in Windows Vista JDK 1.6_01
1519 Patches applied
1520 - [ 1681774 ] str.decode, unicode.encode and str(u'') fixes
1521 - [ 1682423 ] Convert PyModule to a new-style class
1522 - [ 1682498 ] Fix int(None) raising an AttributeError
1523 - [ 1684172 ] Changes to make compileall work
1524 - [ 1628469 ] fixes for failing builtin tests
1525
1526
1527 Jython 2.2 beta1
1528 New features
1529 - much improved support for __unicode__ especially in the parser (u"string" and
1530 friends now result in a PyUnicode object)
1531 - added datetime support using the pure python datetime.py from cpython non-dist.
1532 - new-style classes and their instances are Java serializable
1533 - most new-style builtin types can be pickleds
1534 - __slots__ for new-style classes
1535 - xml modules from pyxml re-added
1536 - comparison operations between subclasses of
1537 builtin types tries the subclass first even if it's on the right side
1538 Bugs fixed.
1539 - Modules that throw exceptions while being imported aren't left
1540 in sys.modules
1541 - Don't allow sys.recursionlimit to be set below 0
1542 - [ 1533624 ] NPE thrown building traceback for a call that jumps
1543 threads
1544 - [ 1531644 ] import * makes java exception uncatchable
1545 - [1243049, 1218089] Can't subclass builtin types in 2.2a1
1546 - [1256506] Importing directory module with 12+ char name fails
1547 - [1512745] Allow arbitrary precision for formatted strings,
1548 but only 250 chars for decimal, integer and long
1549 - [1506749] Instance __dict__ are unassignable
1550 - [1599004] several fixes to get the sha module up to speed
1551 - [1616493] unicode objects can't be passed to os.path
1552 methods
1553 - [ 979157 ] Stack traces untrimmed
1554 - [ 1299032 ] os.getenv out of sync with cpython
1555 - [ 738951 ] jython slice behavior differs from python in __getattr__
1556 - [ 610576 ] Impl of abstract method not found
1557 - [ 1374088 ] keyword args to dict() constructor ignored
1558 - [ 730082 ] new can't create unbound methods
1559 - [ 1382581 ] double(s) read inaccurately from database
1560 - [ 1603312 ] subclasses of int raise a TypeError when given large
1561 value
1562 - [1465476] bad parenthesis nesting terminates interpreter
1563 - [ 1227282 ] Deadlock between PythonTraceFunction.safeCall() and
1564 imp.import
1565 - [ 1421812 ] Jython 2.2a and 2.1 imports directories as modules
1566 - [ 480017 ] Proxy super classes are loaded from syspath, not the
1567 proxy's classpath
1568 - [ 628315 ] problem with Java synchronized lists
1569 - [ 1284344 ] __file__ compiled into .py.class file
1570 - [ 610576 ] Impl of abstract method not found
1571 Patches applied.
1572 - [906256] Follow spec for read modes of open()
1573 - [868514] yield in finally block -- yield in nested try:except:
1574 - [1542997] Only evaluate the second expression in an assert
1575 if the first expression is false
1576 - [1612711]: add iterkeys, itervalues and iteritems to
1577 PyStringMap
1578 - [ 1267425 ] make cStringIO work with gzip.py
1579 - [ 1361317 ] __set__ failing on PyProperty
1580
1581
1582 17-jul-2005 Jython 2.2 alpha1
1583
1584 New features
1585 - Integrated patch (by Aleks Totic) that allows to use the Python parser
1586 outside of Jython. PythonGrammar grows two constructors, one of which
1587 _must_ be used:
1588 PythonGrammar(CharStream stream,IParserHost host)
1589 PythonGrammar(PythonGrammarTokenManager tm, IParserHost host)
1590 They both takes an impl of org.python.parser.IParserHost to which
1591 literal building is delegated. org.python.core.parser contains the
1592 source of the impl used by Jython.
1593 - New-style classes
1594 - PEP 302 implementation
1595 - Java collections integration
1596 - finished long/int unification -- PyObject.__int__() now returns a
1597 PyObject (which could be a PyInteger or a PyLong).
1598 - dict and list conform to CPython 2.3 behaviors (such as the 3 arg
1599 list.index()).
1600 - new-style conversion of tuple, float, file and str.
1601 - Preliminary work on a unicode type.
1602 - Imported tempfile.py and userlist.py from CPython 2.3 and applied some
1603 small adjustments to get tests to pass.
1604 - Reworked message construction for TypeError exceptions
1605 (such as the exceptions generated from operations like [] + "").
1606
1607 31-jul-2003 Jython 2.2 alpha0
1608
1609 New features
1610 - Iterators (pep-234).
1611 - Changing the Division Operator (pep-238)
1612 - Implemented a new compiler AST.
1613 - Quitting (Ctrl-Z/D) Jython in interactive mode will force the running JVM
1614 to exit, even if there are non-daemon threads (e.g. AWT), this is likely
1615 the expected behavior. The behavior for (non-interactive) scripts is
1616 unchanged and still matches that of Java programs.
1617 - OutOfMemoryError can be caught, also matching MemoryError, that means
1618 that a caught PyException.value.__tojava__(Throwable.class)
1619 can potentially be a OutOfMemoryError instance. This is different from
1620 the old aborting behavior (System.exit was called) [change needed to pass
1621 a test in CPython test_b1].
1622
1623 Bug fixes.
1624 - Renamed the use of the java1.4 reserved words 'assert'.
1625 - [ #222805 ] multi-line statements in the JPython interpreter
1626 - [ #495866 ] need dynamic scale for BigDecimal
1627 - [ #499973 ] isql.Prompt can't be written to stdout.
1628 - [ #508111 ] jythonc generates invalid statements
1629 - [ #511493 ] jreload truncates large class files
1630 - [ #515894 ] Behaviour of "+=" stm. is different from
1631 - [ #517237 ] Binary ops with int and long fail
1632 - [ #521704 ] no errno module
1633 - [ #522423 ] cStringIO has no reset() method
1634 - [ #522558 ] list() is broken
1635 - [ #522828 ] struct.pack('>NNs', v) fails for NN > 20
1636 - [ #529242 ] Python singletons deserialization bug
1637 - [ #532747 ] for i in iter(d)
1638 - [ #533354 ] bug in xml.dom.minidom.parseString
1639 - [ #533541 ] send() on _udpsocket fails
1640 - [ #544891 ] problems with socket.py
1641 - [ #545235 ] unexpected match with re
1642 - [ #549107 ] .__doc__ doesn't work in jython
1643 - [ #562943 ] os.path.getmtime misbehaves on nonfile
1644 - [ #567844 ] list() does not make a shallow copy
1645 - [ #572769 ] Blank input lines break readline console
1646 - [ #573784 ] popen does not work
1647 - [ #573791 ] os.system partly broken
1648 - [ #575110 ] Multiple for's on Collection broken
1649 - [ #577395 ] Outer finally not executed at return
1650 - [ #581785 ] bug in 4DOM
1651 - [ #582618 ] Case insensitive re.match fails
1652 - [ #608628 ] long(java.math.BigInteger) does not work
1653 - [ #609505 ] SQLWarning tuples not populated
1654 - [ #620978 ] Variable default for Options.caseok
1655 - [ #625364 ] sys.last_traceback not set?
1656 - [ #631017 ] Private fields mismangled
1657 - [ #631035 ] Negative repeat cause java exception.
1658 - [ #631430 ] read(-1) uses wrong fileposition.
1659 - [ #636381 ] Match Error for +? pattern element
1660 - [ #654863 ] string.split behaves differently
1661 - [ #668194 ] broken non greedy regular expressions
1662
1663 31-dec-2001 Jython 2.1 final
1664
1665 Bug fixes.
1666 - [ #493359 ] Installer should include <EXIT> button
1667 - [ #495602 ] os.path.dirname() can result in an NPE
1668 - [ #495604 ] imp.find_module fails when None is 2 arg
1669
1670 21-dec-2001 Jython 2.1 beta 2
1671
1672 New features.
1673 - support for callproc() in zxJDBC is now available for most simple
1674 stored procedure calls.
1675
1676 Bug fixes.
1677 - [ #451552 ] case insensitivity on import causes prob
1678 - [ #456926 ] PackageManager doesn't work correctly
1679 - [ #484949 ] __import__(_) does unwanted rel search
1680 - [ #488632 ] -c sys.argv diff
1681 - [ #489168 ] Parse error, java traceback
1682 - [ #489836 ] Private names is not mangled
1683 - [ #490157 ] string.splitlines() - incorrectly splits
1684 - [ #490230 ] NotImplemented not implemented
1685 - [ #490961 ] PyFile.java requires JDK 1.2
1686 - [ #490962 ] Typo in PyFile.java
1687 - [ #490963 ] Please update ReadlineConsole.java
1688 - [ #494514 ] Python object not gc()'d
1689 - [ #495458 ] multi level import from .zip file.
1690 - [ #495870 ] zxJDBC now only prepares statements with params.
1691
1692 03-dec-2001 Jython 2.1 beta 1
1693
1694 New features.
1695 - The weakref module is now available.
1696 - The sys.exitfunc hook is called on exit and the sys.excepthook
1697 is called when an exception occur.
1698 - A CPython compatible xreadlines module.
1699 - Support for os.environ and os.system() on common platforms.
1700 - Includes zxJDBC for Python DB API 2.0 compatibility.
1701
1702 Bug fixes.
1703 - [ #438297 ] SimpleHTTPServer does not work
1704 - [ #440660 ] using nested java cls @ level >2 fails
1705 - [ #448485 ] Tuple unpacking raises KeyError
1706 - [ #448523 ] Support "ASCII" as builtin codec.
1707 - [ #449316 ] ArrayList()[0] should raise IndexError
1708 - [ #449956 ] jythonc 2.1a3 --package problem
1709 - [ #450938 ] time module requires JDK 1.4
1710 - [ #451746 ] jythonc --deep pjy$packages problem
1711 - [ #452526 ] traceback lineno is the except line
1712 - [ #452947 ] Class of innerclass inst <> innerclas
1713 - [ #453301 ] jythonc --compileropts on Windows
1714 - [ #457614 ] pls change &copyright; to (c) in sources
1715 - [ #458945 ] Missing 'lastindex' on match objects
1716 - [ #462280 ] builtin method as a class variable
1717 - [ #467826 ] SHA digest() method doesn't work
1718 - [ #473676 ] cStringIO bug
1719 - [ #475445 ] incompatibility with python
1720 - [ #475666 ] __nonzero__ exceptions must be ignored
1721 - [ #476580 ] 'del obj.non_member' : wrong exception
1722 - [ #476772 ] shutdowns in jython / atexit
1723 - [ #477608 ] os.path.getmtime() missing
1724 - [ #477768 ] ord([123]) 21a3
1725 - [ #477793 ] os.utime() is missing.
1726 - [ #480373 ] Can't find _PyInner with classloader.
1727 - [ #480390 ] main() does not throw exceptions
1728 - [ #484181 ] command line args in dos
1729 - [ #485558 ] Synchronization bug in sys.initialize.
1730 - [ #485968 ] cStringIO.softspace is not assignable.
1731
1732 29-jul-2001 Jython 2.1 alpha 3
1733
1734 New features.
1735 - A settable console encoding will allow windows users to enter
1736 national characters at the command prompt.
1737 - Non-public classes are available when respectJavaAccessibility is false
1738 - The names of zip- and jarfiles can be added to sys.path.
1739
1740 Bug fixes.
1741 - The standard python library files are from CPython-2.1.1
1742 - A complete list of fixed bugs can be found on SF:
1743 http://sourceforge.net/tracker/?group_id=12867&atid=112867
1744 Select Status=Any and Group=Fixed in 2.1a3
1745
1746 18-jul-2001 Jython 2.1 alpha 2
1747
1748 New features.
1749 - Added ReadlineConsole class. This class will make it a lot easier
1750 to integrate Bablok's readline support.
1751 - Display Hook for Interactive Use (pep-0217)
1752 - Added zlib, gzip and zipfile modules.
1753 - Added nested scope to jythonc (pep-0227).
1754
1755 Bug fixes.
1756 - Fixed obscure __import__ error message #437800
1757 - Prevent a NPE during import when running with a security manager
1758 - Fixed multi-level Java method overriding #222819.
1759 - Fix for dependency problem with jythonc. #415933
1760 - Fix a lost syntax error when auto importing submodules.
1761 - Use quotes around classpath, but only for win+jdk1.1.
1762 - Find the complete list of fixed bug on SF:
1763 http://sourceforge.net/tracker/?group_id=12867&atid=112867
1764 Select Status=Any and Group=Fixed in 2.1a2
1765
1766
1767 14-mar-2001 Jython 2.1 alpha 1
1768
1769 New features.
1770 - Improve speed when indexing a string and iterating over a string
1771 in a for loop.
1772 - Reworked coercing model (pep-0208)
1773 - Added {}.popitem().
1774 - Improved speed for python files by buffering the RandomAccessFile.
1775 - Added function attributes (pep-0232)
1776 - Rich comparison (pep-0207)
1777 - Updated cPickle to handle CPython compatible unicode strings.
1778 - Updated sre to CPython-2.1a1
1779 - Added the "new" module
1780 - Added a PyServlet class to the util package.
1781 - Warning framework (pep-0230).
1782 - Added sys.add_classdir and sys.add_extdir.
1783 - Added nested scope to the interpreter (pep-0227).
1784
1785 Bug fixes.
1786 - Allow self referencing adapters to be collected when using weak
1787 tables.
1788 - Added workaround for a reader bug in MRJ22Jitc.01.
1789 - Fixes #127340 where serializable parameter received a PyObject
1790 instead of the wrapped java object.
1791 - Include a LineNumberTable in the compiled class files.
1792 - Fixed a java version test bug in the installer.
1793 - Added workaround for class initialization bug in MRJ2.2.4
1794 - Added support for three argument getattr() calls.
1795
1796 17-Jan-2001 Jython 2.0 final release
1797
1798 Bug fixes.
1799 - Install the correct image for the local documentation.
1800 - Added os.linesep field.
1801
1802 15-Jan-2001 Jython 2.0 release candidate 1
1803
1804 New features
1805 - Experimental support for reloading java packages. Thanks to
1806 Samuele Pedroni for all his work on the Jython/Java integration.
1807
1808 Bug fixes.
1809 - Prevent a NPE when a .jar on the classpath is corrupt. Instead
1810 a message with the original IOException is printed.
1811
1812 10-Jan-2001 Jython 2.0 beta 2
1813
1814 New features
1815 - Added socket.getfqdn(). Thanks to Brian Zimmer for the patch.
1816
1817 Bug fixes.
1818 - Fixed innerclass names with '$' #127200
1819 - Fixed a bug where final methods were overridden in proxy #127201.
1820 - Fixed a bug in exec which allow a fileobject to be passed in.
1821 Thanks to Brian Zimmer for the patch.
1822
1823 31-Dec-2000 Jython 2.0 beta 1
1824
1825 New features
1826 - Installer logo by Ivan Kougaenko. The logo content is still
1827 open, so submit you suggestions.
1828 - The default packages selected in the installer are now better
1829 attuned to the normal user (as opposed to the jython devers).
1830
1831 Bug fixes.
1832 - Fixed a NPE when a class is defined in non-module namespace.
1833 - Fixed a compilation problem when using JDK1.2.x
1834 - The installer now creates a usable Uninstall.class.
1835
1836 25-Dec-2000 Jython 2.0 alpha 3
1837
1838 Bug fixes.
1839 - Fixed a bug that caused Infinite recursion in subpackage
1840 import
1841 - Fixed conversion error when a long is converted to a java double.
1842 - Fixed a bug where an attribute in a package __init__.py would
1843 hide a submodule.
1844 - Fixed missing quotes around the path to java.exe in jython.bat
1845 for windows.
1846 - Include missing re.py in installer.
1847 - Added threading and atexit modules from CPython2.0.
1848
1849 17-Dec-2000 Jython 2.0 alpha 2
1850
1851 New features.
1852 - Added -v (verbose) option to jython command. It will trace
1853 import statements. Use three -v's for maximum information.
1854 - Added new registry option python.options.internalTablesImpl
1855 which is a list of choices (':' separated) for internal
1856 tables implementations. These tables contain the mapping of
1857 classes to PyJavaClasses.
1858 Long running applications that unloads classes can avoid a
1859 memory leak by setting the property to "weak" or "soft".
1860 That will use a table implementation which use weak or soft
1861 references.
1862 - Use a SecureClassLoader for loading compiled python modules.
1863 This should allow jython to be used with the java plugin and
1864 its fine grained security.
1865
1866 CPython-2.0 compatibility
1867 - Added support for formatting of long values in "%d %x %X %o".
1868 The support does not match CPython2.0 exactly, but matches
1869 what CPython2.1 will do.
1870 - The \x escape will only eat two hex characters and will
1871 always create a character with values < 256. Use the \u
1872 escape for high-byte values.
1873 - A ucnhash module to support the \n{name} escape.
1874
1875 Backward incompatibility:
1876 - The python.path property is appended to sys.path instead of
1877 being inserted at position 1 in sys.path.
1878
1879 Bug fixes.
1880 - Package relative import works in jythonc, at least when the dotted
1881 package name match the directory structure.
1882 - Fixed oct(0) to return "0"
1883 - Added a os.__file__ attribute. CPython's site.py expects that.
1884 - Fixed a exception when calling int("0", 16)
1885 - Delay closing a socket until all sock.makefile() files are closed.
1886 - Avoided a duplicate call to Class.getMethods(). This will improve
1887 performance.
1888 - Allow from import * to modify the locals in a function (bug 122834).
1889 - Classes with the same name do no longer clash (bug 122820).
1890 - Avoid a memory leak where many threads get started and stopped. The
1891 fix only works on java2.
1892
1893 26-Nov-2000 Jython 2.0 alpha 1
1894
1895 New features.
1896 - Integrate the free ORO regular expression matcher from the apache
1897 project.
1898
1899 CPython2.0 compatibility, including
1900 - List comprehension.
1901 - Extended call syntax.
1902 - Extended print statement
1903 - Augmented assignment.
1904 - Unicode support libraries and codecs.
1905 - sre unicode regular expression.
1906
1907 Some backward incompatibility is introduced:
1908 - The user configuration file is now called <user.home>/.jython
1909 - Text files will pass data read and written through the default
1910 codecs for the JVM. Binary files will write only the lower eight
1911 bits of each unicode character.
1912 - arrays passed to java code will no longer autocoerce just
1913 because the elements can be autocoerced.
1914 - The precedence of java loading have changed. Now the sys.path
1915 is searched for python modules before the CLASSPATH and sys.path
1916 is searched for java class and java packages.
1917 - The builtin exceptions are always classbased. -X is disable.
1918 User exception can still be strings.
1919
1920 Bug fixes.
1921 - Many, including the errata.
1922 - Now the content of a java package is the union of the content of all
1923 locations with the corresponding valid hierarchical name
1924 from dirs and jars of CLASSPATH (and sys.path for dirs); i.e.
1925 from jpkg import * works for jpkg in a dir too.
1926
1927 Improved CPython 2.0 compatibility
1928 - codecs module
1929 - sha module.
1930
1931 26-Jan-2000 JPython 1.1 final released
1932
1933 - Only one small CPython compatibility patch to os.mkdir() and
1934 os.makedirs() -- optional `mode' argument, which is ignored.
1935
1936 21-Jan-2000 JPython 1.1 release candidate 1 released
1937
1938 New JPython features and bug fixes
1939 - Race conditions when creating multiple PythonInterpreter objects
1940 in an embedded multithreaded Java application have been fixed.
1941 - Recursive print of a module's namespace no longer overflows the
1942 JVM stack.
1943 - Fixed backslashing of quotes inside triple quoted strings (Finn
1944 Bock).
1945 - Fixes to read(int) method on file objects, which used to return
1946 the empty string before EOF was seen.
1947 - Class-based exceptions are used in frozen (jpythonc) modules.
1948 - Duplicate argument names in a function definition raise the
1949 appropriate SyntaxError.
1950 - os.path.getsize() has been added.
1951 - mutability of tuples under some situations has been fixed.
1952 - dictionary insertion order affecting dictionary equality has
1953 been fixed (Finn Bock).
1954 - Using the --package option with jpythonc has been fixed.
1955
1956 Improved CPython 1.5.2 compatibility
1957 - optional sizehint argument implemented for readlines() method on
1958 file objects.
1959 - Better compatibility in %g formatting of floats.
1960 - sys.stdout.softspace is now writeable.
1961 - re.VERBOSE/re.X flags are implemented.
1962 - traceback object's reprs are CPython conformant.
1963 - In module os, os.error is equivalent to the builtin OSError.
1964 Also, listdir(), mkdir(), makedirs(), remove(), rename(), and
1965 rmdir() raise OSError directly.
1966 - os.stat() raises an OSError if the file is missing.
1967
1968 28-Oct-1999 JPython 1.1beta4 released
1969
1970 New JPython features and bug fixes
1971 - fixed a bug related to loading anonymous inner classes (PR#201).
1972 This is an experimental patch. See registry file for entry
1973 python.options.extendedClassLoader
1974 - fixed Java exceptions when calling apply() with a bogus 3rd
1975 argument (PR#208)
1976 - fixed a 1.1beta3 problem with method objects having their
1977 im_self mysteriously changed out from under them (PR#186).
1978 - fixed problems with Python classes being deeply derived from
1979 Java classes and interfaces (PR#178, PR#195).
1980 - Improved memory footprint when using exec().
1981 - Dead threads are now reaped from thread state cache (Drew
1982 Morrissey).
1983 - Tuples, dictionaries, and strings now use fast method lookup
1984 mechanism.
1985
1986 Improved CPython 1.5.2 compatibility
1987 - md5 module supported (no need to download anything extra)
1988 - dir() on function objects now returns a list containing __doc__,
1989 func_doc, __namme__, func_name, func_globals, func_defaults,
1990 func_code. __doc__/func_doc is writable (but not func_defaults
1991 and func_code, which are writable in CPython). (PR#192)
1992 - dir() on code objects returns a list containing co_name,
1993 co_argcount, co_varnames, co_filename, co_firstlineno, co_flags.
1994 Not supported: co_nlocals, co_code, co_consts, co_names,
1995 co_lnotab, co_stacksize. All attributes are read-only.
1996 - dir() on method objects returns a list containing im_self,
1997 im_func, im_class, __doc__, __name__. These attributes are
1998 read-only.
1999
2000 22-Sep-1999 JPython 1.1beta3 released
2001
2002 New JPython features and bug fixes
2003
2004 - JPython can now optionally access non-public members of Java
2005 classes. By setting the registry entry
2006 python.security.respectJavaAccessibility=false, JPython can
2007 access private, package-private, and protected fields, methods,
2008 and constructors. By default, normal Java access rules are
2009 followed, i.e. only public members can be accessed. This
2010 feature only works if running with Java 1.2. Thanks to Tony
2011 Plate for his initial implementation.
2012 - A new framework for looking up the methods for builtin types has
2013 been enabled. This can speed up method calls by a factor of 2.
2014 The feature is currently experimental and has only been
2015 implemented for list objects, but will be implemented for other
2016 builtin objects for the next release.
2017 - Some workarounds for weird JIT bugs have been added, but this
2018 may not fix all problems related to running JPython under JVMs
2019 with JIT enabled.
2020 - A wrapper for a free md5 builtin module is included, although
2021 the md5 implementation is not. See the comment in
2022 org/python/modules/MD5Module.java for details.
2023 - New semantics for registry key python.modules.builtin (and
2024 correspondingly the org/python/modules/Setup.java file).
2025
2026 Improved CPython 1.5.2 compatibility
2027
2028 - sys.modules['__builtin__'] and "import __builtin__" has been
2029 fixed.
2030 - Builtin methods and functions now have the standard __name__,
2031 __doc__, __self__, and __members__ attributes.
2032 - Dictionaries and lists now have a __methods__ attribute, and
2033 dir({}) or dir([]) return the list of members.
2034 - repr(8to16bitstring) now prints standard octal escapes for 8bit
2035 characters. It still prints hex escapes for 16bit characters.
2036 - Added abspath() to os.path (i.e. javapath)
2037 - Code objects now have a co_flags attribute
2038 - Frame objects now have f_trace attribute, and dir(frame) works
2039 - None() now raises a TypeError
2040 - tuple(somelist) immutability patch
2041 - re match objects now have groupdict() method
2042 - Finn Bock patch for setting of a module's __name__ after reload
2043
2044 16-Jun-1999 JPython 1.1beta2 released
2045
2046 - Updates and bug fixes to jpythonc tool. New registry entries
2047 python.jpythonc.compiler, python.jpythonc.classpath, and
2048 python.jpythonc.compileropts. getopt style long/short option
2049 names (old options are deprecated). New -J/--compileropts
2050 option.
2051 - syncing string object methods with experimental CPython 1.6
2052 string methods. This includes new optional arguments on
2053 startswith() and endswith() and the moving of join() to a method
2054 of the separator string.
2055 - Many other bug fixes and CPython syncs
2056
2057 04-Jun-1999 JPython 1.1beta1 released
2058
2059 Highlights of changes since JPython 1.0.3
2060
2061 - New and improved jpythonc tool by Jim Hugunin
2062 - New modules contributed by Finn Bock: cStringIO, cPickle,
2063 struct, binascii
2064 - New module synchronize, equivalent to Java's synchronized
2065 keyword
2066 - Operator module now complete
2067 - sys.add_package() no longer necessary, "import java.lang" just works
2068 - Class-based standard exceptions (w/ support for -X option)
2069 - super__ methods are deprecated, use regular Python style
2070 - time.strftime() added
2071 - Java 1.2 style collections support
2072 - Multiple interpreter states
2073 - Most CPython 1.5.2 features have been implemented
2074 - String objects now have methods -- expected CPython 1.6 feature
2075 - Improved performance
2076 - Java inner class support
2077 - keywords are allowed in some locations (e.g. as attribute names)
2078 - New license
2079 - bug fixes
2080
2081
2082
2083
2084 Local Variables:
2085 mode: indented-text
2086 indent-tabs-mode: nil
2087 End: