-
-
Notifications
You must be signed in to change notification settings - Fork 32.3k
gh-136447: Use self.loop
instead of global loop
variable in asyncio REPL
#136448
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
Conversation
Most changes to Python require a NEWS entry. Add one using the blurb_it web app or the blurb command-line tool. If this change has little impact on Python users, wait for a maintainer to apply the |
Thanks @injust for the PR, and @kumaraditya303 for merging it 🌮🎉.. I'm working now to backport this PR to: 3.13. |
Thanks @injust for the PR, and @kumaraditya303 for merging it 🌮🎉.. I'm working now to backport this PR to: 3.14. |
… asyncio REPL (pythonGH-136448) (cherry picked from commit 77fa7a4) Co-authored-by: Justin Su <injustsu@gmail.com>
GH-136457 is a backport of this pull request to the 3.13 branch. |
… asyncio REPL (pythonGH-136448) (cherry picked from commit 77fa7a4) Co-authored-by: Justin Su <injustsu@gmail.com>
GH-136458 is a backport of this pull request to the 3.14 branch. |
… asyncio REPL (python#136448)
… asyncio REPL (python#136448)
loop
is passed toAsyncIOInteractiveConsole
and assigned to the instance attributeself.loop
.This PR fixes the one place where
AsyncIOInteractiveConsole
uses the globalloop
variable instead ofself.loop
.self.loop
instead of globalloop
variable inAsyncIOInteractiveConsole
#136447