]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-46070: Fix asyncio initialisation guard (GH-30423)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Fri, 7 Jan 2022 14:35:15 +0000 (06:35 -0800)
committerGitHub <noreply@github.com>
Fri, 7 Jan 2022 14:35:15 +0000 (06:35 -0800)
commit9d18045804f6db8224be14f7a618b77977f90144
treea7c37c5f09a0f8694b3690c24b43c769691e583d
parentdb60ed1170a02189a4fd4b7574e0722dd22c658b
bpo-46070: Fix asyncio initialisation guard (GH-30423)

If init flag is set, exit successfully immediately.
If not, only set the flag after successful initialization.
(cherry picked from commit b127e70a8a682fe869c22ce04c379bd85a00db67)

Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@innova.no>
Misc/NEWS.d/next/Library/2022-01-07-13-51-22.bpo-46070.-axLUW.rst [new file with mode: 0644]
Modules/_asynciomodule.c