mirror of
https://github.com/python/cpython.git
synced 2025-11-18 01:57:37 +00:00
Issue #14700: Fix two broken and undefined-behaviour-inducing overflow checks in old-style string formatting. Thanks Serhiy Storchaka for report and original patch.
This commit is contained in:
parent
10ba07a39e
commit
99e2e5552a
3 changed files with 9 additions and 2 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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue