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 ajaksu2, amaury.forgeotdarc, pakal, pitrou, vstinner
Date 2010-04-27.19:55:42
SpamBayes Score 8.060682e-09
Marked as misclassified No
Message-id <1272398145.65.0.689379751837.issue7865@psf.upfronthosting.co.za>
In-reply-to
Content
I just tried the patch. One problem is that you are supposed to be able to call close() several times without having it fail:

>>> f = open("LICENSE")
>>> f.close()
>>> f.close()
>>> f = io.open("LICENSE")
>>> f.close()
>>> f.close()
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ValueError: I/O operation on closed file.

This means your patch should be a little smarter.
History
Date User Action Args
2010-04-27 19:55:46pitrousetrecipients: + pitrou, amaury.forgeotdarc, vstinner, ajaksu2, pakal
2010-04-27 19:55:45pitrousetmessageid: <1272398145.65.0.689379751837.issue7865@psf.upfronthosting.co.za>
2010-04-27 19:55:43pitroulinkissue7865 messages
2010-04-27 19:55:42pitroucreate