diff options
author | Mark Dickinson <dickinsm@gmail.com> | 2010-06-10 16:05:10 (GMT) |
---|---|---|
committer | Mark Dickinson <dickinsm@gmail.com> | 2010-06-10 16:05:10 (GMT) |
commit | c73013127b2791476ade69d36b69736b9caa674c (patch) | |
tree | fa53dc8035ac44a9b1bb73d06ed964928a4a9919 /Misc | |
parent | 37296e89a5119eb3af8344796ce653b2d89e403a (diff) | |
download | cpython-c73013127b2791476ade69d36b69736b9caa674c.zip cpython-c73013127b2791476ade69d36b69736b9caa674c.tar.gz cpython-c73013127b2791476ade69d36b69736b9caa674c.tar.bz2 |
Issue #8950: Make PyArg_Parse* with 'L' code raise for float inputs,
instead of warning. This makes it consistent with the other integer
codes.
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/NEWS | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -12,6 +12,11 @@ What's New in Python 3.2 Alpha 1? Core and Builtins ----------------- +- Issue #8950: (See also issue #5080). Py_ArgParse*() functions now + raise TypeError instead of giving a DeprecationWarning when a float + is parsed using the 'L' code (for long long). (All other integer + codes already raise TypeError in this case.) + - Issue #8922: Normalize the encoding name in PyUnicode_AsEncodedString() to enable shortcuts for upper case encoding name. Add also a shortcut for "iso-8859-1" in PyUnicode_AsEncodedString() and PyUnicode_Decode(). |