summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@haypocalc.com>2011-01-22 10:30:29 (GMT)
committerVictor Stinner <victor.stinner@haypocalc.com>2011-01-22 10:30:29 (GMT)
commit4ee65a96858ab9b54c505bad7f2338a475243343 (patch)
tree8d6fe40f06867f2d3e4fdbc4dd64ab9fe2919a0c /Misc
parent01241d6c358ba55332c1ba91c65157548349bdc8 (diff)
downloadcpython-4ee65a96858ab9b54c505bad7f2338a475243343.zip
cpython-4ee65a96858ab9b54c505bad7f2338a475243343.tar.gz
cpython-4ee65a96858ab9b54c505bad7f2338a475243343.tar.bz2
Issue #10955: zipimport uses ASCII at bootstrap
zipimport uses ASCII encoding instead of cp497 to decode filenames, at bootstrap, if the codec registry is not ready yet. It is still possible to have non-ASCII filenames using the Unicode flag (UTF-8 encoding) for file entries in the ZIP file.
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS5
1 files changed, 5 insertions, 0 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index 0ae7d7d..e6a23bd 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -16,6 +16,11 @@ Core and Builtins
Library
-------
+- Issue #10955: zipimport uses ASCII encoding instead of cp497 to decode
+ filenames, at bootstrap, if the codec registry is not ready yet. It is still
+ possible to have non-ASCII filenames using the Unicode flag (UTF-8 encoding)
+ for file entries in the ZIP file.
+
- Issue #10949: Improved robustness of rotating file handlers.
- Issue #10955: Fix a potential crash when trying to mmap() a file past its