summaryrefslogtreecommitdiffstats
path: root/Misc/NEWS
diff options
context:
space:
mode:
authorMark Dickinson <dickinsm@gmail.com>2010-01-01 19:27:32 (GMT)
committerMark Dickinson <dickinsm@gmail.com>2010-01-01 19:27:32 (GMT)
commitde60401909fb6232159f8c3b14c50d108556caad (patch)
tree08594ee22b17a110aaef0c589abd813c0923d0b1 /Misc/NEWS
parentd78735d8e32411a20fc31a78e705f4c067b4344f (diff)
downloadcpython-de60401909fb6232159f8c3b14c50d108556caad.zip
cpython-de60401909fb6232159f8c3b14c50d108556caad.tar.gz
cpython-de60401909fb6232159f8c3b14c50d108556caad.tar.bz2
Merged revisions 77218 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk ........ r77218 | mark.dickinson | 2010-01-01 17:27:30 +0000 (Fri, 01 Jan 2010) | 5 lines Issue #5080: turn the DeprecationWarning from float arguments passed to integer PyArg_Parse* format codes into a TypeError. Add a DeprecationWarning for floats passed with the 'L' format code, which didn't previously have a warning. ........
Diffstat (limited to 'Misc/NEWS')
-rw-r--r--Misc/NEWS7
1 files changed, 7 insertions, 0 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index daee69c..a751676 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -146,6 +146,13 @@ Core and Builtins
C-API
-----
+- Issue #5080: The argument parsing functions PyArg_ParseTuple,
+ PyArg_ParseTupleAndKeywords, PyArg_VaParse,
+ PyArg_VaParseTupleAndKeywords and PyArg_Parse now raise a
+ DeprecationWarning for float arguments passed with the 'L' format
+ code. This will become a TypeError in a future version of Python,
+ to match the behaviour of the other integer format codes.
+
- Issue #7033: function ``PyErr_NewExceptionWithDoc()`` added.
- Issue #7414: 'C' code wasn't being skipped properly (for keyword arguments)