Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gh-93453: Make get_event_loop() an alias of get_running_loop() #93454

Closed

Conversation

serhiy-storchaka
Copy link
Member

@gvanrossum
Copy link
Member

Yury and myself are getting together tomorrow to discuss a bunch of pressing asyncio issues (many orphaned since Andrew and Yury stopped participating).

Copy link
Member

@gvanrossum gvanrossum left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we should eventually do this, but I'm not keen to do it right now. I think we should first deprecate policies, child watchers, and set_event_loop(). See GH-94597.

_c_get_event_loop = get_event_loop
_c__get_event_loop = _get_event_loop

get_event_loop = get_running_loop
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Isn't this a duplicate of line 778?

@gvanrossum
Copy link
Member

I think we've changed our mind on this, and we're not doing this, ever, right? So then it should be closed.

@serhiy-storchaka
Copy link
Member Author

I thought that I closed this PR. Thank you for a reminder.

@serhiy-storchaka serhiy-storchaka deleted the asyncio-get_event_loop branch December 21, 2022 20:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants