]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Close #12015: The tempfile module now uses a suffix of 8 random characters
authorVictor Stinner <victor.stinner@gmail.com>
Tue, 13 Aug 2013 23:28:28 +0000 (01:28 +0200)
committerVictor Stinner <victor.stinner@gmail.com>
Tue, 13 Aug 2013 23:28:28 +0000 (01:28 +0200)
commit97869103ba09fb6a468312d303193902ff13160a
treefbb1a98f601ddc3eed85f2a0bd01f0e0ea884903
parent0c7907dd48968d492f50b774239954a6af1302d5
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.
Lib/tempfile.py
Lib/test/test_tempfile.py
Misc/NEWS