summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorInada Naoki <songofacandy@gmail.com>2020-10-31 02:15:38 (GMT)
committerGitHub <noreply@github.com>2020-10-31 02:15:38 (GMT)
commit43ca084c88d1e46a44199f347c72e26db84903c9 (patch)
treee2353d496893ee141bf5b3d2a0f523d3fe6d9db1 /Misc
parentb62bdf71ea0cd52041d49691d8ae3dc645bd48e1 (diff)
downloadcpython-43ca084c88d1e46a44199f347c72e26db84903c9.zip
cpython-43ca084c88d1e46a44199f347c72e26db84903c9.tar.gz
cpython-43ca084c88d1e46a44199f347c72e26db84903c9.tar.bz2
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.
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS.d/next/Library/2020-10-27-00-42-09.bpo-42160.eiLOCi.rst1
1 files changed, 0 insertions, 1 deletions
diff --git a/Misc/NEWS.d/next/Library/2020-10-27-00-42-09.bpo-42160.eiLOCi.rst b/Misc/NEWS.d/next/Library/2020-10-27-00-42-09.bpo-42160.eiLOCi.rst
deleted file mode 100644
index c5f3091..0000000
--- a/Misc/NEWS.d/next/Library/2020-10-27-00-42-09.bpo-42160.eiLOCi.rst
+++ /dev/null
@@ -1 +0,0 @@
-Replaced pid check in ``tempfile._RandomNameSequence`` with ``os.register_at_fork`` to reduce overhead.