summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2013-08-13 23:28:28 (GMT)
committerVictor Stinner <victor.stinner@gmail.com>2013-08-13 23:28:28 (GMT)
commit97869103ba09fb6a468312d303193902ff13160a (patch)
treefbb1a98f601ddc3eed85f2a0bd01f0e0ea884903 /Misc
parent0c7907dd48968d492f50b774239954a6af1302d5 (diff)
downloadcpython-97869103ba09fb6a468312d303193902ff13160a.zip
cpython-97869103ba09fb6a468312d303193902ff13160a.tar.gz
cpython-97869103ba09fb6a468312d303193902ff13160a.tar.bz2
Close #12015: The tempfile module now uses a suffix of 8 random characters
instead of 6, to reduce the risk of filename collision. The entropy was reduced when uppercase letters were removed from the charset used to generate random characters.
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS5
1 files changed, 5 insertions, 0 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index 150a5fe..2c7938b 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -28,6 +28,11 @@ Core and Builtins
Library
-------
+- Issue #12015: The tempfile module now uses a suffix of 8 random characters
+ instead of 6, to reduce the risk of filename collision. The entropy was
+ reduced when uppercase letters were removed from the charset used to generate
+ random characters.
+
- Issue #18585: Add :func:`textwrap.shorten` to collapse and truncate a
piece of text to a given length.