commit | 87f649a409da9d99682e78a55a83fc43225a8729 | [log] [tgz] |
---|---|---|
author | Victor Stinner <vstinner@python.org> | Wed Mar 10 20:00:46 2021 +0100 |
committer | GitHub <noreply@github.com> | Wed Mar 10 20:00:46 2021 +0100 |
tree | ecba0910f42f93dd6aa107ce4506a55f66249ec2 | |
parent | 9a9c11ad41d7887f3d6440e0f0e8966156d959b5 [diff] |
bpo-43311: Create GIL autoTSSkey ealier (GH-24819) At Python startup, call _PyGILState_Init() before PyInterpreterState_New() which calls _PyThreadState_GET(). When Python is built using --with-experimental-isolated-subinterpreters, _PyThreadState_GET() uses autoTSSkey.