You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
document the new behavior of get_event_loop() in Python 3.6 #75118
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
assignee=Noneclosed_at=<Date2018-05-29.22:50:47.630>created_at=<Date2017-07-15.02:03:41.684>labels= ['type-feature', '3.7', 'docs', 'expert-asyncio']
title='document the new behavior of get_event_loop() in Python 3.6'updated_at=<Date2018-05-29.22:50:47.630>user='https://github.com/cjerdonek'
Currently, the Python asyncio.get_event_loop() docs don't say that get_event_loop() returns the currently running event loop when it is called from a coroutine:
changed the title [-]document the new behavior of get_event_loop() Python 3.6[/-][+]document the new behavior of get_event_loop() in Python 3.6[/+]on Jul 15, 2017
Activity
cjerdonek commentedon Jul 15, 2017
Currently, the Python asyncio.get_event_loop() docs don't say that get_event_loop() returns the currently running event loop when it is called from a coroutine:
https://docs.python.org/3/library/asyncio-eventloops.html#asyncio.get_event_loop
https://docs.python.org/3/library/asyncio-eventloops.html#asyncio.AbstractEventLoopPolicy.get_event_loop
This is new behavior that was introduced in Python 3.6 in this issue:
python/asyncio#452
Without this, the docs make it seem like get_event_loop() should return the loop that was last passed to set_event_loop().
This could be added with a "Changed in version 3.6" note.
[-]document the new behavior of get_event_loop() Python 3.6[/-][+]document the new behavior of get_event_loop() in Python 3.6[/+]1st1 commentedon May 29, 2018
New changeset e55de2d by Yury Selivanov (Mandeep Singh) in branch 'master':
bpo-30935: update get_event_loop docs (GH-2731)
e55de2d
miss-islington commentedon May 29, 2018
New changeset ca64f3e by Miss Islington (bot) in branch '3.7':
bpo-30935: update get_event_loop docs (GH-2731)
ca64f3e
miss-islington commentedon May 29, 2018
New changeset 51bf38f by Miss Islington (bot) in branch '3.6':
bpo-30935: update get_event_loop docs (GH-2731)
51bf38f