[Jython-checkins] jython: Update NEWS

jim.baker jython-checkins at python.org
Sat Jan 24 01:02:40 CET 2015


https://hg.python.org/jython/rev/ef585365ab7f
changeset:   7558:ef585365ab7f
user:        Jim Baker <jim.baker at rackspace.com>
date:        Fri Jan 23 17:02:28 2015 -0700
summary:
  Update NEWS

files:
  NEWS |  8 ++++++++
  1 files changed, 8 insertions(+), 0 deletions(-)


diff --git a/NEWS b/NEWS
--- a/NEWS
+++ b/NEWS
@@ -74,6 +74,14 @@
       NotImplementedError, instead of returning None (in Java, null) or some
       "zero", if they are not implemented in the extending Python class.
 
+    - os.getenv, os.listdir, sys.argv now return unicode instead of
+      str values if a given value is not ascii, thus allowing such
+      values to be passed through to Java, eg
+      java.io.File(sys.argv[1]). Earlier such behavior was potentially
+      silently failing in Python functions, but passing through to
+      Java because of bug 2037. This behavior conforms with Python
+      3.x, which uses Unicode.
+
 Jython 2.7b3
   Bugs Fixed
     - [ 2225 ] Jython+django-jython - no module named site

-- 
Repository URL: https://hg.python.org/jython


More information about the Jython-checkins mailing list