Skip to content

[3.9] bpo-41247: asyncio.set_running_loop() cache running loop holder (GH-21401)#21402

Merged
miss-islington merged 1 commit intopython:3.9from
miss-islington:backport-529f426-3.9
Jul 8, 2020
Merged

[3.9] bpo-41247: asyncio.set_running_loop() cache running loop holder (GH-21401)#21402
miss-islington merged 1 commit intopython:3.9from
miss-islington:backport-529f426-3.9

Conversation

@miss-islington
Copy link
Contributor

@miss-islington miss-islington commented Jul 8, 2020

The running loop holder cache variable was always set to NULL when
calling set_running_loop.

Now set_running_loop saves the newly created running loop holder in the
cache variable for faster access in get_running_loop.

Automerge-Triggered-By: @1st1
(cherry picked from commit 529f426)

Co-authored-by: Tony Solomonik tony.solomonik@gmail.com

https://bugs.python.org/issue41247

Automerge-Triggered-By: @1st1

…onGH-21401)

The running loop holder cache variable was always set to NULL when
calling set_running_loop.

Now set_running_loop saves the newly created running loop holder in the
cache variable for faster access in get_running_loop.

Automerge-Triggered-By: @1st1
(cherry picked from commit 529f426)

Co-authored-by: Tony Solomonik <tony.solomonik@gmail.com>
@miss-islington
Copy link
Contributor Author

@tontinton: Status check is done, and it's a success ✅ .

@miss-islington miss-islington merged commit fbd71f6 into python:3.9 Jul 8, 2020
@miss-islington miss-islington deleted the backport-529f426-3.9 branch July 8, 2020 19:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants