-
-
Notifications
You must be signed in to change notification settings - Fork 31.8k
gh-133016: Fix a reference to removed asyncio.futures.TimeoutError
#133019
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
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! This is not a user-facing change so the news entry can be omitted ;)
@tomasr8 Taken out and thanks for reviewing. This is my 2nd patch for CPython. |
futures.TimeoutError
futures.TimeoutError
asyncio.futures.TimeoutError
already done ;) |
Ah, actually, when was the reference removed? just to know whether I can backport this or not. |
Will investigate. |
A Python core developer has requested some changes be made to your pull request before we can consider merging it. If you could please address their requests along with any other requests in other reviews from core developers that would be appreciated. Once you have made the requested changes, please leave a comment on this pull request containing the phrase |
@gvanrossum Done. Thanks for creating Python and also for reviewing my patch so carefully. |
I have made the requested changes; please review again |
Thanks for making the requested changes! @gvanrossum, @picnixz: please review the changes made to this pull request. |
@picnixz Should probably backport to 3.13 and 3.12 at least. |
Just rebased onto main. |
Oh, you didn't have to do that. It's harmless, but this will be done anyway during the actual merge. Thanks for your contribution! |
(We'll backport until 3.13 as 3.12 is security-only) |
Thanks @johnzhou721 for the PR, and @gvanrossum for merging it 🌮🎉.. I'm working now to backport this PR to: 3.13. |
…rror` (pythonGH-133019) Just use the builtin `TimeoutError`, and remove the import of `futures`. (cherry picked from commit 8d6d738) Co-authored-by: John <john-xyz@outlook.com>
GH-133023 is a backport of this pull request to the 3.13 branch. |
asyncio.futures.TimeoutError
no longer exists, so we use the builtin TimeoutError instead.