]> granicus.if.org Git - python/commitdiff
Issue #13886: Fix input() to not strip out supposedly-invalid input bytes.
authorNadeem Vawda <nadeem.vawda@gmail.com>
Sun, 27 Jan 2013 13:17:21 +0000 (14:17 +0100)
committerNadeem Vawda <nadeem.vawda@gmail.com>
Sun, 27 Jan 2013 13:17:21 +0000 (14:17 +0100)
Also fix sporadic failures in test_builtin due to dependence on whether the
readline module has previously been imported.

1  2 
Lib/test/test_builtin.py
Misc/NEWS
Modules/readline.c

Simple merge
diff --cc Misc/NEWS
index d2f15b383dc270e261aa4e18cc2be8f562479c9a,1976bba8a6880d7a489588652cd9d44232a87024..7dd231b1267f6b5f53b37db4094a58adac626606
+++ b/Misc/NEWS
@@@ -10,10 -12,10 +10,14 @@@ What's New in Python 3.4.0 Alpha 1
  Core and Builtins
  -----------------
  
+ - Issue #13886: Fix input() to not strip out input bytes that cannot be decoded
+   using the locale encoding. Also fix sporadic failures in test_builtin due to
+   dependence on whether the readline module has previously been imported.
 +- Issue #16772: The base argument to the int constructor no longer accepts
 +  floats, or other non-integer objects with an __int__ method.  Objects
 +  with an __index__ method are now accepted.
 +
  - Issue #10156: In the interpreter's initialization phase, unicode globals
    are now initialized dynamically as needed.
  
Simple merge