diff options
author | Mark Dickinson <dickinsm@gmail.com> | 2010-01-01 19:27:32 (GMT) |
---|---|---|
committer | Mark Dickinson <dickinsm@gmail.com> | 2010-01-01 19:27:32 (GMT) |
commit | de60401909fb6232159f8c3b14c50d108556caad (patch) | |
tree | 08594ee22b17a110aaef0c589abd813c0923d0b1 /Misc/NEWS | |
parent | d78735d8e32411a20fc31a78e705f4c067b4344f (diff) | |
download | cpython-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/NEWS | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -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) |