summaryrefslogtreecommitdiffstats
path: root/Misc/NEWS
diff options
context:
space:
mode:
authorEthan Furman <ethan@stoneleaf.us>2014-01-12 07:20:58 (GMT)
committerEthan Furman <ethan@stoneleaf.us>2014-01-12 07:20:58 (GMT)
commitf9bba9c67f7928be185bd81614881ae88a46aaab (patch)
tree6115322a5032536b3dbe72e2ca3a34d92c4878ed /Misc/NEWS
parent57bc1e21e7df2fe85ec87fcc11451939a309a4af (diff)
downloadcpython-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/NEWS4
1 files changed, 2 insertions, 2 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index 01c48cb..aff3c96 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -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