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 Joseph.Siddall, berker.peksag, davin, jnoller, pitrou, sbt, zvyn
Date 2018-03-13.22:31:13
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1520980273.74.0.467229070634.issue22872@psf.upfronthosting.co.za>
In-reply-to
Content
The expected behaviour here would be to raise ValueError, as on other closed objects:

>>> s = io.StringIO()
>>> s.close()
>>> s.write("")
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ValueError: I/O operation on closed file
History
Date User Action Args
2018-03-13 22:31:13pitrousetrecipients: + pitrou, jnoller, sbt, berker.peksag, zvyn, Joseph.Siddall, davin
2018-03-13 22:31:13pitrousetmessageid: <1520980273.74.0.467229070634.issue22872@psf.upfronthosting.co.za>
2018-03-13 22:31:13pitroulinkissue22872 messages
2018-03-13 22:31:13pitroucreate