summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@haypocalc.com>2010-04-25 22:39:07 (GMT)
committerVictor Stinner <victor.stinner@haypocalc.com>2010-04-25 22:39:07 (GMT)
commita27dcb76ee05397108271547b340c977d52ecabb (patch)
tree02a6ca89b7ec422ba38442dda8b465f7e99ff53e /Misc
parente3123915297da3e87f6d62c0e0788a6b5421a5cf (diff)
downloadcpython-a27dcb76ee05397108271547b340c977d52ecabb.zip
cpython-a27dcb76ee05397108271547b340c977d52ecabb.tar.gz
cpython-a27dcb76ee05397108271547b340c977d52ecabb.tar.bz2
Merged revisions 80421,80424 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r80421 | victor.stinner | 2010-04-23 23:41:56 +0200 (ven., 23 avril 2010) | 3 lines Issue #8391: os.execvpe() and os.getenv() supports unicode with surrogates and bytes strings for environment keys and values ........ r80424 | victor.stinner | 2010-04-24 00:55:39 +0200 (sam., 24 avril 2010) | 13 lines Fix test_undecodable_env of test_subproces for non-ASCII directory This test was introduced by r80421 (issue #8391). The fix: copy the environment variables instead of starting Python in an empty environement. In an empty environment, the locale is C and Python uses ASCII for the default file system encoding. The non-ASCII directory will be encoded using surrogates, but Python3 is unable to load a module or package with a filename using surrogates. See issue #8242 for more information about running Python3 with a non-ascii directory in an empty environement. ........
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS4
1 files changed, 4 insertions, 0 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index ae87ebe..8c27fba 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -40,6 +40,10 @@ Core and Builtins
Library
-------
+- Issue #8391: os.execvpe() and os.getenv() supports unicode with surrogates
+ and bytes strings for environment keys and values, and use
+ sys.getfilesystemencoding() instead of sys.getdefautltencoding()
+
- Issue #2302: Fix a race condition in SocketServer.BaseServer.shutdown,
where the method could block indefinitely if called just before the
event loop started running. This also fixes the occasional freezes