]> granicus.if.org Git - python/commit
bpo-16500: Don't use string constants for os.register_at_fork() behavior (#1834)
authorGregory P. Smith <greg@krypto.org>
Mon, 29 May 2017 17:03:41 +0000 (10:03 -0700)
committerGitHub <noreply@github.com>
Mon, 29 May 2017 17:03:41 +0000 (10:03 -0700)
commit163468a766e16604bdea04a1ab808c0d3e729e5d
treed9c9bb6da480f4d7e9070e83a010798da5c30a6f
parenteba68e2c42e149acecb15bbeb692786e2540157d
bpo-16500: Don't use string constants for os.register_at_fork() behavior (#1834)

Instead use keyword only arguments to os.register_at_fork for each of the scenarios.
Updates the documentation for clarity.
Doc/c-api/sys.rst
Doc/library/os.rst
Lib/random.py
Lib/test/test_posix.py
Lib/threading.py
Modules/_posixsubprocess.c
Modules/clinic/posixmodule.c.h
Modules/posixmodule.c