[issue6511] zipfile: Invalid argument when opening zero-sized files

2010-01-06 Thread R. David Murray
R. David Murray added the comment: I've backported this to 2.6 in r77334 and to 3.1 in r77335. -- nosy: +r.david.murray priority: -> normal stage: -> committed/rejected ___ Python tracker

[issue6511] zipfile: Invalid argument when opening zero-sized files

2009-10-28 Thread skelker
skelker added the comment: Is this going to make its way into a 2.6 release? -- nosy: +skelker ___ Python tracker ___ ___ Python-bugs-

[issue6511] zipfile: Invalid argument when opening zero-sized files

2009-07-28 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc added the comment: Oh, this was done with r74246, I just forgot to mention it. Anyway all changes in trunk are regularly merged into py3k. -- ___ Python tracker

[issue6511] zipfile: Invalid argument when opening zero-sized files

2009-07-28 Thread Sridhar Ratnakumar
Sridhar Ratnakumar added the comment: Amaury, shouldn't this also be merged to the py3k branch? (I am not aware of any Python commit policies so just asking) -- ___ Python tracker _

[issue6511] zipfile: Invalid argument when opening zero-sized files

2009-07-28 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc added the comment: Fixed in r74245. Thanks for the report! -- nosy: +amaury.forgeotdarc resolution: -> fixed status: open -> closed ___ Python tracker ___ _

[issue6511] zipfile: Invalid argument when opening zero-sized files

2009-07-17 Thread Sridhar Ratnakumar
Sridhar Ratnakumar added the comment: Note: empty.zip is nothing but an empty file created using the 'touch' command. -- ___ Python tracker ___ _

[issue6511] zipfile: Invalid argument when opening zero-sized files

2009-07-17 Thread Sridhar Ratnakumar
Sridhar Ratnakumar added the comment: Also repros on python-3.1 -- versions: +Python 3.1 ___ Python tracker ___ ___ Python-bugs-list m

[issue6511] zipfile: Invalid argument when opening zero-sized files

2009-07-17 Thread Sridhar Ratnakumar
New submission from Sridhar Ratnakumar : Ideally, zipfile.BadZipFile should be thrown when trying to open files that are zero-sized. sridh...@whymac:/tmp/i > apy -c "import zipfile; zipfile.ZipFile ('empty.zip').extractall()" Traceback (most recent call last): File "", line 1, in File "/Li