summaryrefslogtreecommitdiffstats
path: root/Python/getplatform.c
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2017-06-15 22:08:39 (GMT)
committerGitHub <noreply@github.com>2017-06-15 22:08:39 (GMT)
commit33cf0c4cd6e8abe138c3469ca9ec1502410945f0 (patch)
treeb9f104b4a6fafdc3c622844b2b5fb9b9fa6e79f7 /Python/getplatform.c
parent263dcc39daa74066c2b2fcb007a4bd4f7ec65073 (diff)
downloadcpython-33cf0c4cd6e8abe138c3469ca9ec1502410945f0.zip
cpython-33cf0c4cd6e8abe138c3469ca9ec1502410945f0.tar.gz
cpython-33cf0c4cd6e8abe138c3469ca9ec1502410945f0.tar.bz2
bpo-30675: Fix multiprocessing code in regrtest (#2220)
* Rewrite code to pass slaveargs from the master process to worker processes: reuse the same code of the Python master branch * Move code to initialize tests in a new setup_tests() function, similar change was done in the master branch * In a worker process, call setup_tests() with the namespace built from slaveargs to initialize correctly tests Before this change, warm_caches() was not called in worker processes because the setup was done before rebuilding the namespace from slaveargs. As a consequence, the huntrleaks feature was unstable. For example, test_zipfile reported randomly false positive on reference leaks.
Diffstat (limited to 'Python/getplatform.c')
0 files changed, 0 insertions, 0 deletions