diff options
author | Benjamin Peterson <benjamin@python.org> | 2012-12-20 17:53:11 (GMT) |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2012-12-20 17:53:11 (GMT) |
commit | 68623614f095c8589ff17c004b9a05c537afc01f (patch) | |
tree | c42832d39e1919f5352410e9dabe4a7e04f944bd /Misc/NEWS | |
parent | 5ff3f73d94305900c0773e67ebdd9701d856a0fe (diff) | |
download | cpython-68623614f095c8589ff17c004b9a05c537afc01f.zip cpython-68623614f095c8589ff17c004b9a05c537afc01f.tar.gz cpython-68623614f095c8589ff17c004b9a05c537afc01f.tar.bz2 |
call close on the underlying stream even if flush raises (closes #16597)
Patch by Serhiy Storchaka.
Diffstat (limited to 'Misc/NEWS')
-rw-r--r-- | Misc/NEWS | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -12,6 +12,9 @@ What's New in Python 3.3.1? Core and Builtins ----------------- +- Issue #16597: Make BufferedIO.close call close() on the underlying stream if + invoking flush() fails. + - Issue #16722: In the bytes() constructor, try to call __bytes__ on the argument before __index__. |