]> granicus.if.org Git - python/commit
zipimport: read_directory() uses cp437 or utf-8 (in strict mode), depending on
authorVictor Stinner <victor.stinner@haypocalc.com>
Mon, 18 Oct 2010 12:13:46 +0000 (12:13 +0000)
committerVictor Stinner <victor.stinner@haypocalc.com>
Mon, 18 Oct 2010 12:13:46 +0000 (12:13 +0000)
commitd36c8217e130bac34ea8c95c8351c47e24c401e2
tree7b58cbc51355c41443666ab95ca0aa53329d8d83
parentb08820ad406b9fd291a8707e4bad41cc8486ab08
zipimport: read_directory() uses cp437 or utf-8 (in strict mode), depending on
the unicode flag, to decode the filename, instead of the filesystem encoding.
Use the same choice than the zipfile module.
Modules/zipimport.c