Message124992
I'm attaching a patch with a test for Martin's fix. I had trouble programmatically generating a "bad" zip for this bug, since it has different encodings for the header and filename (probably created by WinZip?). So I created a directory in test/ and placed the problematic zipfile M.Z. submitted in there, and wrote an appropriate test in test_zipfile.py
I verified the test fails on py3k trunk before Martin's fix, and succeeds after it, both by running the test file directly and through regrtest.
Note: Tested only on Ubuntu |
|
Date |
User |
Action |
Args |
2011-01-01 07:54:17 | eli.bendersky | set | recipients:
+ eli.bendersky, loewis, amaury.forgeotdarc, vstinner, r.david.murray, M..Z. |
2011-01-01 07:54:17 | eli.bendersky | set | messageid: <1293868457.88.0.271569862304.issue10801@psf.upfronthosting.co.za> |
2011-01-01 07:54:15 | eli.bendersky | link | issue10801 messages |
2011-01-01 07:54:14 | eli.bendersky | create | |
|