]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Revert "bpo-42160: tempfile: Reduce overhead of pid check. (GH-22997)"
authorInada Naoki <songofacandy@gmail.com>
Sat, 31 Oct 2020 02:15:38 +0000 (11:15 +0900)
committerGitHub <noreply@github.com>
Sat, 31 Oct 2020 02:15:38 +0000 (11:15 +0900)
commit43ca084c88d1e46a44199f347c72e26db84903c9
treee2353d496893ee141bf5b3d2a0f523d3fe6d9db1
parentb62bdf71ea0cd52041d49691d8ae3dc645bd48e1
Revert "bpo-42160: tempfile: Reduce overhead of pid check. (GH-22997)"

`_RandomNameSequence` is not true singleton so using `os.register_at_fork` doesn't make sense unlike `random._inst`.

This reverts commit 8e409cebad42032bb7d0f2cadd8b1e36081d98af.
Lib/tempfile.py
Lib/test/test_tempfile.py
Misc/NEWS.d/next/Library/2020-10-27-00-42-09.bpo-42160.eiLOCi.rst [deleted file]