]> granicus.if.org Git - python/commit
bpo-38070: Add _PyRuntimeState.preinitializing (GH-16245)
authorVictor Stinner <vstinner@redhat.com>
Tue, 17 Sep 2019 21:59:51 +0000 (23:59 +0200)
committerGitHub <noreply@github.com>
Tue, 17 Sep 2019 21:59:51 +0000 (23:59 +0200)
commitd3b904144e86e2442961de6a7dccecbe133d5c6d
tree0663e8625cbadbb1fce208e16902ee0bc7753fa8
parentb39afb78768418d9405c4b528c80fa968ccc974d
bpo-38070: Add _PyRuntimeState.preinitializing (GH-16245)

Add _PyRuntimeState.preinitializing field: set to 1 while
Py_PreInitialize() is running.

_PyRuntimeState: rename also pre_initialized field to preinitialized.
Include/internal/pycore_pystate.h
Python/pylifecycle.c