[issue32269] Add `asyncio.get_running_loop()` function

2017-12-11 Thread Yury Selivanov
Yury Selivanov added the comment: > `asyncio._get_running_loop()` will be deprecated and removed in Python 3.9. _get_running_loop() was left as-is. -- ___ Python tracker

[issue32269] Add `asyncio.get_running_loop()` function

2017-12-11 Thread Yury Selivanov
Change by Yury Selivanov : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue32269] Add `asyncio.get_running_loop()` function

2017-12-10 Thread Yury Selivanov
Change by Yury Selivanov : -- keywords: +patch pull_requests: +4683 stage: -> patch review ___ Python tracker ___

[issue32269] Add `asyncio.get_running_loop()` function

2017-12-10 Thread Yury Selivanov
Change by Yury Selivanov : -- components: +asyncio type: -> enhancement versions: +Python 3.7 ___ Python tracker ___

[issue32269] Add `asyncio.get_running_loop()` function

2017-12-10 Thread Yury Selivanov
New submission from Yury Selivanov : In many contexts `asyncio._get_running_loop()` is more useful than `asyncio.get_event_loop()`. The former function is predictable and simple, the latter can change its behaviour depending on the current policy and can even create new