This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author kasal
Recipients kasal, mcepl
Date 2012-02-23.18:50:31
SpamBayes Score 0.00038883183
Marked as misclassified No
Message-id <1330023033.33.0.751804639959.issue14099@psf.upfronthosting.co.za>
In-reply-to
Content
Attached please find a patch that fixes this issue by reusing the original fp from ZipFile object.

Two of the test cases attempted to read a file from a zip as soon as write() was called.  I believe that this is not correct usage: zip file is not even fully written to disk at that stage!
So I took the liberty to change these two test cases so that they first write the file and then read it.

Let me thank to Martin Sikora for discovering the issue and to Matej Cepl for testing it on current source tree.
History
Date User Action Args
2012-02-23 18:50:33kasalsetrecipients: + kasal, mcepl
2012-02-23 18:50:33kasalsetmessageid: <1330023033.33.0.751804639959.issue14099@psf.upfronthosting.co.za>
2012-02-23 18:50:32kasallinkissue14099 messages
2012-02-23 18:50:32kasalcreate