]> granicus.if.org Git - python/commit
Issue #10955: zipimport uses ASCII at bootstrap
authorVictor Stinner <victor.stinner@haypocalc.com>
Sat, 22 Jan 2011 10:30:29 +0000 (10:30 +0000)
committerVictor Stinner <victor.stinner@haypocalc.com>
Sat, 22 Jan 2011 10:30:29 +0000 (10:30 +0000)
commit4ee65a96858ab9b54c505bad7f2338a475243343
tree8d6fe40f06867f2d3e4fdbc4dd64ab9fe2919a0c
parent01241d6c358ba55332c1ba91c65157548349bdc8
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.
Misc/NEWS
Modules/zipimport.c