]> granicus.if.org Git - python/commit
Issue #7865: The close() method of :mod:`io` objects should not swallow
authorAntoine Pitrou <solipsis@pitrou.net>
Mon, 3 May 2010 16:25:33 +0000 (16:25 +0000)
committerAntoine Pitrou <solipsis@pitrou.net>
Mon, 3 May 2010 16:25:33 +0000 (16:25 +0000)
commitf7fd8e4c9492defbb32cc142faaf3abeabd00cf8
tree8854e7a740532f8b6b746e9e5c4118b95ad758f9
parentc3ce9e357dac697561a8c97e977e49db321571e3
Issue #7865: The close() method of :mod:`io` objects should not swallow
exceptions raised by the implicit flush().  Also ensure that calling
close() several times is supported.  Patch by Pascal Chambon.
Lib/_pyio.py
Lib/test/test_io.py
Misc/NEWS
Modules/_io/bufferedio.c
Modules/_io/bytesio.c
Modules/_io/iobase.c
Modules/_io/textio.c