diff options
author | Mark Dickinson <mdickinson@enthought.com> | 2012-05-07 10:20:50 (GMT) |
---|---|---|
committer | Mark Dickinson <mdickinson@enthought.com> | 2012-05-07 10:20:50 (GMT) |
commit | 99e2e5552ab6a105b188273658784963bb9a915c (patch) | |
tree | a5be0d6455e3f0eec37595061463ca7cda5aa29f /Misc | |
parent | 10ba07a39eadaedd74e291f9d8b6b7f5e5c8702f (diff) | |
download | cpython-99e2e5552ab6a105b188273658784963bb9a915c.zip cpython-99e2e5552ab6a105b188273658784963bb9a915c.tar.gz cpython-99e2e5552ab6a105b188273658784963bb9a915c.tar.bz2 |
Issue #14700: Fix two broken and undefined-behaviour-inducing overflow checks in old-style string formatting. Thanks Serhiy Storchaka for report and original patch.
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/NEWS | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -10,6 +10,9 @@ What's New in Python 3.3.0 Alpha 4? Core and Builtins ----------------- +- Issue #14700: Fix two broken and undefined-behaviour-inducing overflow checks + in old-style string formatting. + - Issue #14705: The PyArg_Parse() family of functions now support the 'p' format unit, which accepts a "boolean predicate" argument. It converts any Python value into an integer--0 if it is "false", and 1 otherwise. |