summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorAmaury Forgeot d'Arc <amauryfa@gmail.com>2009-12-01 21:51:04 (GMT)
committerAmaury Forgeot d'Arc <amauryfa@gmail.com>2009-12-01 21:51:04 (GMT)
commitd728871ee170604e18dd8e0bf1b28b6520a5b809 (patch)
tree826b4afa90b41c4033813778be9d571827862acf /Misc
parent7072f74dc8bea03490ab09af3ee5a902bdc6f284 (diff)
downloadcpython-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/NEWS5
1 files changed, 4 insertions, 1 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index 8ac7c24..a8b56e2 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -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.