Message313790
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 |
|
Date |
User |
Action |
Args |
2018-03-13 22:31:13 | pitrou | set | recipients:
+ pitrou, jnoller, sbt, berker.peksag, zvyn, Joseph.Siddall, davin |
2018-03-13 22:31:13 | pitrou | set | messageid: <1520980273.74.0.467229070634.issue22872@psf.upfronthosting.co.za> |
2018-03-13 22:31:13 | pitrou | link | issue22872 messages |
2018-03-13 22:31:13 | pitrou | create | |
|