diff options
author | Ethan Furman <ethan@stoneleaf.us> | 2014-01-05 14:50:30 (GMT) |
---|---|---|
committer | Ethan Furman <ethan@stoneleaf.us> | 2014-01-05 14:50:30 (GMT) |
commit | df3ed242c07ac9d0d46faa89a4705bd6acb3dd68 (patch) | |
tree | 87d790e70c68ff68f865a37a0ecd6720580a089d /Misc | |
parent | 6d2ea213372bf585e797777824c6ed2209dc22c0 (diff) | |
download | cpython-df3ed242c07ac9d0d46faa89a4705bd6acb3dd68.zip cpython-df3ed242c07ac9d0d46faa89a4705bd6acb3dd68.tar.gz cpython-df3ed242c07ac9d0d46faa89a4705bd6acb3dd68.tar.bz2 |
Issue19995: %o, %x, %X now only accept ints
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/NEWS | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -18,6 +18,10 @@ Core and Builtins - Issue #19969: PyBytes_FromFormatV() now raises an OverflowError if "%c" argument is not in range [0; 255]. +- Issue #19995: %c, %o, %x, and %X now raise TypeError on non-integer input; + reworded docs to clarify that an integer type should define both __int__ + and __index__. + - Issue #19787: PyThread_set_key_value() now always set the value. In Python 3.3, the function did nothing if the key already exists (if the current value is a non-NULL pointer). |