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
Raw File
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
CODE_OF_CONDUCT.md
# Code of Conduct

Please note that all interactions on
[Python Software Foundation](https://www.python.org/psf-landing/)-supported
infrastructure is [covered](https://www.python.org/psf/records/board/minutes/2014-01-06/#management-of-the-psfs-web-properties)
by the [PSF Code of Conduct](https://www.python.org/psf/codeofconduct/),
which includes all the infrastructure used in the development of Python itself
(e.g. mailing lists, issue trackers, GitHub, etc.).

In general, this means that everyone is expected to be **open**, **considerate**, and
**respectful** of others no matter what their position is within the project.

back to top