bpo-41247: asyncio.set_running_loop() cache running loop holder (GH-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
2 files changed