summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@haypocalc.com>2010-10-15 12:04:23 (GMT)
committerVictor Stinner <victor.stinner@haypocalc.com>2010-10-15 12:04:23 (GMT)
commitf3170ccef8809e4a3f82fe9f82dc7a4a486c28c1 (patch)
treeb96ab0a2584f511758bad3e4ccac6c4e3ed43954 /Misc
parent6a4aff10f0f1c34f488d5d0f932eea1fb3483dbf (diff)
downloadcpython-f3170ccef8809e4a3f82fe9f82dc7a4a486c28c1.zip
cpython-f3170ccef8809e4a3f82fe9f82dc7a4a486c28c1.tar.gz
cpython-f3170ccef8809e4a3f82fe9f82dc7a4a486c28c1.tar.bz2
Use locale encoding if Py_FileSystemDefaultEncoding is not set
* PyUnicode_EncodeFSDefault(), PyUnicode_DecodeFSDefaultAndSize() and PyUnicode_DecodeFSDefault() use the locale encoding instead of UTF-8 if Py_FileSystemDefaultEncoding is NULL * redecode_filenames() functions and _Py_code_object_list (issue #9630) are no more needed: remove them
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS3
1 files changed, 3 insertions, 0 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index 38e68e3..4e66031 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -10,6 +10,9 @@ What's New in Python 3.2 Beta 1?
Core and Builtins
-----------------
+- Use locale encoding instead of UTF-8 to encode and decode filenames if
+ Py_FileSystemDefaultEncoding is not set.
+
- Issue #10095: fp_setreadl() doesn't reopen the file, reuse instead the file
descriptor.