diff options
author | Ethan Furman <ethan@stoneleaf.us> | 2014-01-12 07:20:58 (GMT) |
---|---|---|
committer | Ethan Furman <ethan@stoneleaf.us> | 2014-01-12 07:20:58 (GMT) |
commit | f9bba9c67f7928be185bd81614881ae88a46aaab (patch) | |
tree | 6115322a5032536b3dbe72e2ca3a34d92c4878ed /Misc/NEWS | |
parent | 57bc1e21e7df2fe85ec87fcc11451939a309a4af (diff) | |
download | cpython-f9bba9c67f7928be185bd81614881ae88a46aaab.zip cpython-f9bba9c67f7928be185bd81614881ae88a46aaab.tar.gz cpython-f9bba9c67f7928be185bd81614881ae88a46aaab.tar.bz2 |
Issue19995: issue deprecation warning for non-integer values to %c, %o, %x, %X
Diffstat (limited to 'Misc/NEWS')
-rw-r--r-- | Misc/NEWS | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -117,8 +117,8 @@ 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__ +- Issue #19995: %c, %o, %x, and %X now issue a DeprecationWarning 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 |