summaryrefslogtreecommitdiffstats
path: root/Lib/test/libregrtest
diff options
context:
space:
mode:
authorEric W <robo-eric@gmx.de>2020-10-30 04:56:28 (GMT)
committerGitHub <noreply@github.com>2020-10-30 04:56:28 (GMT)
commit8e409cebad42032bb7d0f2cadd8b1e36081d98af (patch)
tree4347dffac5a388a69782692bfa63075bf8607cdf /Lib/test/libregrtest
parent9129af6050b747f288baa9d4e7d43031647ed222 (diff)
downloadcpython-8e409cebad42032bb7d0f2cadd8b1e36081d98af.zip
cpython-8e409cebad42032bb7d0f2cadd8b1e36081d98af.tar.gz
cpython-8e409cebad42032bb7d0f2cadd8b1e36081d98af.tar.bz2
bpo-42160: tempfile: Reduce overhead of pid check. (GH-22997)
The _RandomSequence class in tempfile used to check the current pid every time its rng property was used. This commit replaces this code with `os.register_at_fork` to reduce the overhead.
Diffstat (limited to 'Lib/test/libregrtest')
0 files changed, 0 insertions, 0 deletions