[issue41247] asyncio.set_running_loop() cache running loop holder

2020-07-09 Thread Yury Selivanov
Yury Selivanov added the comment: New changeset 0b6169e391ce6468aad711f08ffb829362293ad5 by Tony Solomonik in branch '3.8': bpo-41247: asyncio.set_running_loop() cache running loop holder (#21406) https://github.com/python/cpython/commit/0b6169e391ce6468aad711f08ffb829362293ad5 --

[issue41247] asyncio.set_running_loop() cache running loop holder

2020-07-08 Thread Tony
Change by Tony : -- pull_requests: +20555 pull_request: https://github.com/python/cpython/pull/21406 ___ Python tracker ___ ___ Pyth

[issue41247] asyncio.set_running_loop() cache running loop holder

2020-07-08 Thread miss-islington
miss-islington added the comment: New changeset fbd71f66843aea71c09656f17a196d29d5d484af by Miss Islington (bot) in branch '3.9': bpo-41247: asyncio.set_running_loop() cache running loop holder (GH-21401) https://github.com/python/cpython/commit/fbd71f66843aea71c09656f17a196d29d5d484af

[issue41247] asyncio.set_running_loop() cache running loop holder

2020-07-08 Thread Yury Selivanov
Yury Selivanov added the comment: > n python to know if there could be a context switch to get_running_loop while > set_running_loop is running. No, it's protected by the GIL. Good catch, and merged. -- nosy: +yselivanov resolution: -> fixed stage: patch review -> resolved status:

[issue41247] asyncio.set_running_loop() cache running loop holder

2020-07-08 Thread miss-islington
Change by miss-islington : -- pull_requests: +20551 pull_request: https://github.com/python/cpython/pull/21402 ___ Python tracker ___ __

[issue41247] asyncio.set_running_loop() cache running loop holder

2020-07-08 Thread miss-islington
Change by miss-islington : -- pull_requests: +20552 pull_request: https://github.com/python/cpython/pull/21403 ___ Python tracker ___ __

[issue41247] asyncio.set_running_loop() cache running loop holder

2020-07-08 Thread miss-islington
miss-islington added the comment: New changeset 529f42645d38b6b0075f256814dfb3d220ac7d92 by Tony Solomonik in branch 'master': bpo-41247: asyncio.set_running_loop() cache running loop holder (GH-21401) https://github.com/python/cpython/commit/529f42645d38b6b0075f256814dfb3d220ac7d92 ---

[issue41247] asyncio.set_running_loop() cache running loop holder

2020-07-08 Thread Tony
Change by Tony : -- title: asyncio module better caching for set and get_running_loop -> asyncio.set_running_loop() cache running loop holder ___ Python tracker ___ __

[issue41247] asyncio.set_running_loop() cache running loop holder

2020-07-08 Thread Tony
Change by Tony : -- keywords: +patch pull_requests: +20550 stage: -> patch review pull_request: https://github.com/python/cpython/pull/21401 ___ Python tracker ___ ___