]> 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:36:07 +0000 (06:36 -0800)
committerGitHub <noreply@github.com>
Fri, 7 Jan 2022 14:36:07 +0000 (06:36 -0800)
commit4d2cfd354969590ba8e0af0447fd84f8b5e61952
tree04c898c7b5ca02d2a34459cff813a6d491522bd5
parent188fbdee0d6721a948eabb81cdcacac371614793
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