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 pitrou
Recipients ack, eric.araujo, jfinkels, pitrou
Date 2010-09-15.08:27:08
SpamBayes Score 3.2431492e-06
Marked as misclassified No
Message-id <1284539230.14.0.884215348173.issue9759@psf.upfronthosting.co.za>
In-reply-to
Content
You should make sure that all operations (except close() itself) raise ValueError. Currently:

>>> f = gzip.open("test.gz", "rb")
>>> f.close()
>>> f.read()
b''
>>> f.seek(0)
0

Also, you don't have to post a patch for 2.7. We'll do the porting ourselves.
Thanks for contributing!
History
Date User Action Args
2010-09-15 08:27:10pitrousetrecipients: + pitrou, eric.araujo, jfinkels, ack
2010-09-15 08:27:10pitrousetmessageid: <1284539230.14.0.884215348173.issue9759@psf.upfronthosting.co.za>
2010-09-15 08:27:08pitroulinkissue9759 messages
2010-09-15 08:27:08pitroucreate