summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2012-12-03 11:48:53 (GMT)
committerVictor Stinner <victor.stinner@gmail.com>2012-12-03 11:48:53 (GMT)
commit2660e427d1abcae9fc60115c45619ed2286fc560 (patch)
tree2bc8119cac17fb963f323f964f8774cffbaa1879 /Misc
parenta2816c2b11aeb24b232570b4073a9644bfdd82c7 (diff)
parent27b1ca29ccf523e736a47c02f554de5374e241fc (diff)
downloadcpython-2660e427d1abcae9fc60115c45619ed2286fc560.zip
cpython-2660e427d1abcae9fc60115c45619ed2286fc560.tar.gz
cpython-2660e427d1abcae9fc60115c45619ed2286fc560.tar.bz2
(Merge 3.2) Issue #16416: On Mac OS X, operating system data are now always
encoded/decoded to/from UTF-8/surrogateescape, instead of the locale encoding (which may be ASCII if no locale environment variable is set), to avoid inconsistencies with os.fsencode() and os.fsdecode() functions which are already using UTF-8/surrogateescape.
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS6
1 files changed, 6 insertions, 0 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index 6eff12c..c695be5 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -12,6 +12,12 @@ What's New in Python 3.3.1?
Core and Builtins
-----------------
+- Issue #16416: On Mac OS X, operating system data are now always
+ encoded/decoded to/from UTF-8/surrogateescape, instead of the locale encoding
+ (which may be ASCII if no locale environment variable is set), to avoid
+ inconsistencies with os.fsencode() and os.fsdecode() functions which are
+ already using UTF-8/surrogateescape.
+
- Issue #16588: Silence unused-but-set warnings in Python/thread_pthread
- Issue #16546: Fix: ast.YieldFrom argument is now mandatory.