-
-
Notifications
You must be signed in to change notification settings - Fork 30.3k
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
asyncio.staggered
is missing typing
import
#119121
Labels
Comments
cc @sobolevn as well |
This is easy to fix but the weird thing is that no unit tests caught this; the NameError happens on any call to Linking #114282 where this was changed. |
I'll fix it, sorry! |
sobolevn
added a commit
to sobolevn/cpython
that referenced
this issue
May 19, 2024
sobolevn
added a commit
that referenced
this issue
May 20, 2024
miss-islington
pushed a commit
to miss-islington/cpython
that referenced
this issue
May 20, 2024
…nGH-119173) (cherry picked from commit 16b46eb) Co-authored-by: Nikita Sobolev <[email protected]>
Thanks a lot! I can confirm that |
Kronuz
pushed a commit
to Kronuz/cpython
that referenced
this issue
May 20, 2024
…pythonGH-119173) (python#119206) pythongh-119121: Fix and test `async.staggered.staggered_race` (pythonGH-119173) (cherry picked from commit 16b46eb) Co-authored-by: Nikita Sobolev <[email protected]>
estyxx
pushed a commit
to estyxx/cpython
that referenced
this issue
Jul 17, 2024
Yoo i actually had to fix this now aswell :) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Bug report
Bug description:
asyncio/staggered.py
is usingtyping.Optional
:cpython/Lib/asyncio/staggered.py
Line 73 in 65de194
However, #114281 removed the
typing
import. This causes test failures inaiohappyeyeballs
:CC @AA-Turner
CPython versions tested on:
3.13, CPython main branch
Operating systems tested on:
Linux
Linked PRs
async.staggered.staggered_race
#119173async.staggered.staggered_race
(GH-119173) #119206The text was updated successfully, but these errors were encountered: