diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2013-08-13 23:28:28 (GMT) |
---|---|---|
committer | Victor Stinner <victor.stinner@gmail.com> | 2013-08-13 23:28:28 (GMT) |
commit | 97869103ba09fb6a468312d303193902ff13160a (patch) | |
tree | fbb1a98f601ddc3eed85f2a0bd01f0e0ea884903 /Misc | |
parent | 0c7907dd48968d492f50b774239954a6af1302d5 (diff) | |
download | cpython-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/NEWS | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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. |