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.
I
Inada Naoki committed
43ca084c88d1e46a44199f347c72e26db84903c9
Parent: b62bdf7
Committed by GitHub <noreply@github.com>
on 10/31/2020, 2:15:38 AM