From: Victor Stinner Date: Wed, 2 Jul 2014 21:00:38 +0000 (+0200) Subject: (Merge 3.4) Issue #21090: io.FileIO.readall() does not ignore I/O errors X-Git-Tag: v3.5.0a1~1356 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6680e9f5fd1015ec7630c7658b5fdcce93114ab4;p=python (Merge 3.4) Issue #21090: io.FileIO.readall() does not ignore I/O errors anymore. Before, it ignored I/O errors if at least the first C call read() succeed. --- 6680e9f5fd1015ec7630c7658b5fdcce93114ab4 diff --cc Misc/NEWS index 04287755fe,0983a59c95..b7c7b9bbb9 --- a/Misc/NEWS +++ b/Misc/NEWS @@@ -103,17 -27,11 +103,20 @@@ Core and Builtin Library ------- + - Issue #21090: io.FileIO.readall() does not ignore I/O errors anymore. Before, + it ignored I/O errors if at least the first C call read() succeed. + +- Issue #5800: headers parameter of wsgiref.headers.Headers is now optional. + Initial patch by Pablo Torres Navarrete and SilentGhost. + - Issue #21781: ssl.RAND_add() now supports strings longer than 2 GB. +- Issue #21679: Prevent extraneous fstat() calls during open(). Patch by + Bohuslav Kabrda. + +- Issue #21863: cProfile now displays the module name of C extension functions, + in addition to their own name. + - Issue #11453: asyncore: emit a ResourceWarning when an unclosed file_wrapper object is destroyed. The destructor now closes the file if needed. The close() method can now be called twice: the second call does nothing.