]> granicus.if.org Git - python/commit
Issue #9293: I/O streams now raise `io.UnsupportedOperation` when an
authorAntoine Pitrou <solipsis@pitrou.net>
Sun, 5 Sep 2010 23:01:12 +0000 (23:01 +0000)
committerAntoine Pitrou <solipsis@pitrou.net>
Sun, 5 Sep 2010 23:01:12 +0000 (23:01 +0000)
commit0d739d70471cafdea04d9624cbfb7895b7d1b566
treec8a04ae9f5b648613d724b4497c1fac3986f48fd
parentbad092556e12e8b2cf5976718cda902bef66b3f4
Issue #9293: I/O streams now raise `io.UnsupportedOperation` when an
unsupported operation is attempted (for example, writing to a file open
only for reading).
Lib/_pyio.py
Lib/test/test_io.py
Misc/NEWS
Modules/_io/fileio.c
Modules/_io/iobase.c
Modules/_io/textio.c