]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.12] gh-100227: Lock Around Use of the Global "atexit" State (gh-105514) (gh-105517)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Thu, 8 Jun 2023 19:27:44 +0000 (12:27 -0700)
committerGitHub <noreply@github.com>
Thu, 8 Jun 2023 19:27:44 +0000 (19:27 +0000)
commit2ad2bd8b14505ee92600e7988379cfac63086dab
treea748f316ac0de4688a5f18e19073bb4917ffb3fe
parent8698fa83f6c226d35af0367e40dd4387fcccbe40
[3.12] gh-100227: Lock Around Use of the Global "atexit" State (gh-105514) (gh-105517)

The risk of a race with this state is relatively low, but we play it safe anyway.
(cherry picked from commit 7799c8e678f759c7787785c6287140abe641d1b9)

Co-authored-by: Eric Snow <ericsnowcurrently@gmail.com>
Doc/data/python3.12.abi
Include/internal/pycore_atexit.h
Python/pylifecycle.c
Python/pystate.c