Staging
v0.8.1
https://github.com/python/cpython
Revision 8e409cebad42032bb7d0f2cadd8b1e36081d98af authored by Eric W on 30 October 2020, 04:56:28 UTC, committed by GitHub on 30 October 2020, 04:56:28 UTC
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.
1 parent 9129af6
History
Tip revision: 8e409cebad42032bb7d0f2cadd8b1e36081d98af authored by Eric W on 30 October 2020, 04:56:28 UTC
bpo-42160: tempfile: Reduce overhead of pid check. (GH-22997)
Tip revision: 8e409ce
File Mode Size
c-api
data
distributing
distutils
extending
faq
howto
includes
install
installing
library
reference
tools
tutorial
using
whatsnew
Makefile -rw-r--r-- 8.5 KB
README.rst -rw-r--r-- 4.6 KB
about.rst -rw-r--r-- 1.5 KB
bugs.rst -rw-r--r-- 4.7 KB
conf.py -rw-r--r-- 7.1 KB
contents.rst -rw-r--r-- 538 bytes
copyright.rst -rw-r--r-- 451 bytes
glossary.rst -rw-r--r-- 53.2 KB
license.rst -rw-r--r-- 46.5 KB
make.bat -rw-r--r-- 5.5 KB
requirements.txt -rw-r--r-- 381 bytes
runtime.txt -rw-r--r-- 3 bytes

README.rst

back to top