1
1
Jython NEWS
2
2
3
- The features new in a given release are generally listed under the section for the "b1" release
4
- of that version.
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.
5
6
6
7
For more details, three sources are available according to type:
7
8
- [ n ], please see old bug tracker at https://bugs.jython.org.
8
9
- [ GH-n ], please see https://github.com/jython/jython.
9
10
- [ FM-n ], please see https://github.com/jython/frozen-mirror.
10
11
12
+ ==============================================================================
13
+ Jython 2.7.3
14
+ ==============================================================================
11
15
12
- Jython 2.7.3b1
13
- Bugs fixed
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. A Java varargs parameter does not match a final
23
+ sequence in the call if an array parameter could do so. (Thanks Peter
24
+ 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).
39
+
40
+
41
+ Jython 2.7.3b2-DEV Bugs fixed
42
+ - [ GH- ]
43
+
44
+ Jython 2.7.3b1 Bugs fixed
14
45
- [ GH-192 ] PyString with non-byte value in formatting of collections
15
46
- [ GH-183 ] Console messages do not reach root logger (bjo 2896)
16
47
- [ GH-178 ] Update icu4j JAR to 71.1
@@ -51,36 +82,66 @@ Jython 2.7.3b1
51
82
- [ 2918 ] slim jar: missing resource file for zxJDBC (also GH-187)
52
83
- [ 2892 ] Migrate from hg.python.org to GitHub
53
84
54
- New Features
55
-
56
- - The jython command respects the PYTHONDONTWRITEBYTECODE environment variable (GH-128).
57
-
58
- - Under PR GH-101, the matching of sequence arguments to the parameters of Java methods is
59
- improved. A Java varargs parameter does not match a final sequence in the call
60
- if an array parameter could do so. (Thanks Peter Holloway.)
61
-
62
- - array.array itemsize of unsigned types is now the same as their signed counterparts, where
63
- previously it was mostly double. Internal representations have changed. Anomalies have been
64
- eliminated between itemsize and the serialisation (tostring() etc.) for unsigned types,
65
- and in the range of values accepted in different contexts. The size of type 'u' (unicode
66
- character) is 4 on all platforms. Client code that was working around these anomalies may
67
- have to change. Overall, the experience should be closer to that with CPython.
68
-
69
- - We no longer aspire to compile Jython with Java 7. (We may use Java 8 features.)
70
-
71
- - The project has moved its home to GitHub (twice).
72
85
86
+ ==============================================================================
73
87
Jython 2.7.2
74
- same as 2.7.2rc1
88
+ ==============================================================================
75
89
76
- Jython 2.7.2rc1
77
- Bugs fixed
90
+ New Features
91
+ - The main program behaves more like CPython in many small ways, including
92
+ a more correct treatment of the -i option. This simplifies support, and
93
+ may also make it unnecessary for users to work around differences from
94
+ CPython.
95
+ - python.startup registry property (and JYTHONSTARTUP environment variable)
96
+ added.
97
+ - Only the Jython command (class org.python.util.jython) now reads the
98
+ environment variable JYTHONPATH, not the core runtime, and it respects
99
+ the -E option (ignore environment). This change is for consistency with
100
+ CPython and with our handling of other environment variables. A pure Java
101
+ application that creates its own interpreter may use the system or
102
+ registry key "python.path" to add to sys.path, as documented.
103
+ - We no longer recommend overriding toString in PyObject sub-classes as a
104
+ way of defining string forms. Override __repr__, and if necessary __str__,
105
+ as is usual in Python. We recommend toString should return the same as
106
+ __str__ (or __unicode__).
107
+ - Experimentally, we use Gradle to build a JAR and POM that may be cited as
108
+ a dependency by other projects. The Jython project would like to know if
109
+ this is being done suitably for downstream use.
110
+ - The registry setting (or Java property) "python.verbose", and direct use
111
+ of the global org.python.core.Options.verbose are DEPRECATED: use a Java
112
+ logging properties file instead. Console messages are now produced via
113
+ java.util.logging (JUL), and the logger "org.python" or its descendants.
114
+ The jython command configures a ConsoleLogger for "org.python" and by
115
+ default a format for messages generally similar to that in v2.7.1,
116
+ preceded by the logger name and JUL severity. The volume of messages is
117
+ controlled by your logging preferences, but by default is unchanged from
118
+ v2.7.1. Each -v option on the command line makes the logging one step
119
+ finer on the JUL scale. Error messages from Python and stack traces are
120
+ unaffected. When embedded in your application, Jython makes no logging
121
+ configuration changes: messages from the "org.python" name space merge
122
+ with those of your application.
123
+ - There is much improved support for locale, but as a backward-incompatible
124
+ change, it is provided as an opt-in. Define property
125
+ python.locale.control=settable on the command line or via the Jython
126
+ registry, to enable. This may become the default in a later version.
127
+ - The default location of the Jython package cache has moved from the
128
+ installation directory to the current working directory and is called
129
+ ".jython_cache". Previously, Jython installed system-wide either exposed
130
+ the cache as world read-write (a security risk) or disabled it.
131
+ - BouncyCastle SSL support is incomplete as bundled. The Jython JAR is not
132
+ signed, and may not be trusted by your JVM as a security provider. This
133
+ manifests as a PEMException: "Unable to create OpenSSL PBDKF:
134
+ PBKDF-OpenSSL SecretKeyFactory not available" during certain operations.
135
+ If this is a problem, place genuine BouncyCastle JARs on the class path,
136
+ and Jython will use those in preference to the classes we include.
137
+ The slim JAR does not suffer this problem.
138
+
139
+ Jython 2.7.2rc1 Bugs fixed
78
140
- [ 2858 ] test_ssl failure due to embedding Bouncy Castle (doc change only)
79
141
- [ FM-156 ] Race condition in PyStringMap keys method
80
142
- [ 2862 ] Jython fails on Linux for normal user when installed by root
81
143
82
- Jython 2.7.2b3
83
- Bugs fixed
144
+ Jython 2.7.2b3 Bugs fixed
84
145
- [ 2810 ] NoSuchMethodError in test_jython_initializer (Java 10+)
85
146
- [ 2808 ] lib2to3 test failures on Windows JDK 11
86
147
- [ 2846 ] Main module __name __ is not "__main__" under Java Scripting API
@@ -91,12 +152,10 @@ Jython 2.7.2b3
91
152
- [ 2826 ] Unicode hex string decode failure
92
153
- [ 2836 ] Java Swing library works only in interactive jython session
93
154
94
- Jython 2.7.2b2
95
- Bugs fixed
155
+ Jython 2.7.2b2 Bugs fixed
96
156
- [ 2814 ] maven/build.xml does not PGP-sign the publication
97
- 2)
98
- Jython 2.7.2b1
99
- Bugs fixed
157
+
158
+ Jython 2.7.2b1 Bugs fixed
100
159
- [ 2806 ] Installer contains dependencies unshaded (Java 8)
101
160
- [ 2666 ] Oracle JDK 7 out of support so no longer available on Travis
102
161
- [ 2294 ] Importation of modules from directories with non-ASCII characters fails
@@ -162,46 +221,7 @@ Jython 2.7.2b1
162
221
- [ 2403 ] VerifyError when implementing interfaces containing default methods (Java 8)
163
222
- [ 2715 ] Restrict array.array support for buffer protocol
164
223
165
- New Features
166
- - The main program behaves more like CPython in many small ways, including a more correct
167
- treatment of the -i option. This simplifies support, and may also make it unnecessary for
168
- users to work around differences from CPython.
169
- - python.startup registry property (and JYTHONSTARTUP environment variable) added.
170
- - Only the Jython command (class org.python.util.jython) now reads the environment variable
171
- JYTHONPATH, not the core runtime, and it respects the -E option (ignore environment). This
172
- change is for consistency with CPython and with our handling of other environment variables.
173
- A pure Java application that creates its own interpreter may use the system or registry
174
- key "python.path" to add to sys.path, as documented.
175
- - We no longer recommend overriding toString in PyObject sub-classes as a way of defining
176
- string forms. Override __repr__, and if necessary __str__, as is usual in Python. We
177
- recommend toString should return the same as __str__ (or __unicode__).
178
- - Experimentally, we use Gradle to build a JAR and POM that may be cited as a dependency by
179
- other projects. The Jython project would like to know if this is being done suitably
180
- for downstream use.
181
- - The registry setting (or Java property) "python.verbose", and direct use of the global
182
- org.python.core.Options.verbose are DEPRECATED: use a Java logging properties file instead.
183
- Console messages are now produced via java.util.logging (JUL), and the logger "org.python"
184
- or its descendants. The jython command configures a ConsoleLogger for "org.python" and by
185
- default a format for messages generally similar to that in v2.7.1, preceded by the logger
186
- name and JUL severity. The volume of messages is controlled by your logging preferences, but
187
- by default is unchanged from v2.7.1. Each -v option on the command line makes the logging
188
- one step finer on the JUL scale. Error messages from Python and stack traces are unaffected.
189
- When embedded in your application, Jython makes no logging configuration changes: messages
190
- from the "org.python" name space merge with those of your application.
191
- - There is much improved support for locale, but as a backward-incompatible change, it is
192
- provided as an opt-in. Define property python.locale.control=settable on the command line
193
- or via the Jython registry, to enable. This may become the default in a later version.
194
- - The default location of the Jython package cache has moved from the installation directory
195
- to the current working directory and is called ".jython_cache". Previously, Jython installed
196
- system-wide either exposed the cache as world read-write (a security risk) or disabled it.
197
- - BouncyCastle SSL support is incomplete as bundled. The Jython JAR is not signed, and may not
198
- be trusted by your JVM as a security provider. This manifests as a PEMException: "Unable to
199
- create OpenSSL PBDKF: PBKDF-OpenSSL SecretKeyFactory not available" during certain
200
- operations. If this is a problem, place genuine BouncyCastle JARs on the class path, and
201
- Jython will use those in preference to the classes we include. The slim JAR is not affected.
202
-
203
- Jython 2.7.2a1
204
- Bugs fixed
224
+ Jython 2.7.2a1 Bugs fixed
205
225
- [ 2632 ] Handle unicode data appropriately in csv module
206
226
- [ 2638 ] str not default-decoded in str-unicode operations
207
227
- [ 2622 ] json dumps error (use of AbstractDict)
@@ -213,11 +233,10 @@ Jython 2.7.2a1
213
233
- [ 2600 ] subprocess doesn't have _args_from_interpreter_flags (blocks support for multiprocessing)
214
234
- [ 2602 ] NumberFormatException in terminal on OSX 10.12.5 (ncurses related)
215
235
216
- New Features
217
- - Updated JLine to 2.14.5
218
236
237
+ ==============================================================================
219
238
Jython 2.7.1
220
- same as 2.7.1rc3
239
+ ==============================================================================
221
240
222
241
Jython 2.7.1rc3
223
242
Bugs fixed
@@ -432,8 +451,9 @@ Jython 2.7.1b1
432
451
- [ 2058 ] ClasspathPyImporter implements PEP 302 get_data (and others)
433
452
- [ 2364 ] bytearray and str: isalpha(), isupper() etc. now match Python 2
434
453
454
+ ==============================================================================
435
455
Jython 2.7
436
- same as 2.7rc3
456
+ ==============================================================================
437
457
438
458
Jython 2.7rc3
439
459
Bugs fixed
0 commit comments