From: Victor Stinner Date: Mon, 30 May 2011 21:47:01 +0000 (+0200) Subject: (Merge 3.2) Issue #12016: my_fgets() now always clears errors before calling X-Git-Tag: v3.3.0a1~2183^2~42^2~2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=0c9f31b4c0d9bc910a7a4fce453a9768f2c9441b;p=thirdparty%2FPython%2Fcpython.git (Merge 3.2) Issue #12016: my_fgets() now always clears errors before calling fgets(). Fix the following case: sys.stdin.read() stopped with CTRL+d (end of file), raw_input() interrupted by CTRL+c. --- 0c9f31b4c0d9bc910a7a4fce453a9768f2c9441b diff --cc Misc/NEWS index 6a3266134e07,17ba290e3dee..68e81f0993c1 --- a/Misc/NEWS +++ b/Misc/NEWS @@@ -10,11 -10,10 +10,15 @@@ What's New in Python 3.3 Alpha 1 Core and Builtins ----------------- + - Issue #12016: my_fgets() now always clears errors before calling fgets(). Fix + the following case: sys.stdin.read() stopped with CTRL+d (end of file), + raw_input() interrupted by CTRL+c. + +- Issue #12216: Allow unexpected EOF errors to happen on any line of the file. + +- Issue #12199: The TryExcept and TryFinally and AST nodes have been unified + into a Try node. + - Issue #9670: Increase the default stack size for secondary threads on Mac OS X and FreeBSD to reduce the chances of a crash instead of a "maximum recursion depth" RuntimeError exception.