diff options
author | Amaury Forgeot d'Arc <amauryfa@gmail.com> | 2009-12-01 21:51:04 (GMT) |
---|---|---|
committer | Amaury Forgeot d'Arc <amauryfa@gmail.com> | 2009-12-01 21:51:04 (GMT) |
commit | d728871ee170604e18dd8e0bf1b28b6520a5b809 (patch) | |
tree | 826b4afa90b41c4033813778be9d571827862acf /Misc | |
parent | 7072f74dc8bea03490ab09af3ee5a902bdc6f284 (diff) | |
download | cpython-d728871ee170604e18dd8e0bf1b28b6520a5b809.zip cpython-d728871ee170604e18dd8e0bf1b28b6520a5b809.tar.gz cpython-d728871ee170604e18dd8e0bf1b28b6520a5b809.tar.bz2 |
#7419: Fix a crash on Windows in locale.setlocale() when the category
is outside the allowed range.
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/NEWS | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -12,10 +12,13 @@ What's New in Python 2.7 alpha 1 Core and Builtins ----------------- +- Issue #7419: setlocale() could crash the interpreter on Windows when called + with invalid values. + - Issue #3382: 'F' formatting for float and complex now convert the result to upper case. This only affects 'inf' and 'nan', since 'f' no longer converts to 'g' for large values. - + - Remove switch from "%f" formatting to "%g" formatting for floats larger than 1e50 in absolute value. |