Charles-Francois Natali <neolo...@free.fr> added the comment: The check is done in py3k:
Traceback (most recent call last): File "/home/cf/test_zip.py", line 7, in <module> print(z.read("secretfile.txt")) File "/home/cf/py3k/Lib/zipfile.py", line 889, in read with self.open(name, "r", pwd) as fp: File "/home/cf/py3k/Lib/zipfile.py", line 975, in open raise RuntimeError("Bad password for file", name) RuntimeError: ('Bad password for file', 'secretfile.txt') Try with Python 3.2. ---------- nosy: +neologix _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue11443> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com