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 pitrou
Date 2012-09-01.19:18:49
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1346527132.85.0.102313792516.issue15841@psf.upfronthosting.co.za>
In-reply-to
Content
>>> f = io.StringIO()
>>> f.close()
>>> f.readable()
True
>>> f.read()
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ValueError: I/O operation on closed file.

>>> f = io.BytesIO()
>>> f.close()
>>> f.readable()
True
>>> f.read()
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ValueError: I/O operation on closed file
History
Date User Action Args
2012-09-01 19:18:52pitrousetrecipients: + pitrou
2012-09-01 19:18:52pitrousetmessageid: <1346527132.85.0.102313792516.issue15841@psf.upfronthosting.co.za>
2012-09-01 19:18:50pitroulinkissue15841 messages
2012-09-01 19:18:49pitroucreate