[issue10955] Possible regression with stdlib in zipfile

Ronald Oussoren report at bugs.python.org
Sun Jan 23 19:42:50 CET 2011


Ronald Oussoren <ronaldoussoren at mac.com> added the comment:

Data files can be anything that can be a data-file in a setuptools/distribute setup.py file. Note that #10972 isn't necessary when python32.zip is build using the zipfile module, _encodeFilenameFlags uses either ASCII or UTF-8 to encode filenames and the new zipimport behavior matches that.

I can confirm that the current HEAD fixes the problems I had in py2app.

BTW. I do considered this a regression because having the stdlib in a zipfile used to work in earlier versions, was obviously something that was intended to work (python32.zip in the default value for sys.path) and no longer worked.

And last but definitely not least: Thanks for the quick response.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue10955>
_______________________________________


More information about the Python-bugs-list mailing list