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
bpo-46672: fix NameError
in asyncio.gather
if type check fails
#31187
Conversation
Misc/NEWS.d/next/Library/2022-02-07-13-15-16.bpo-46672.4swIjx.rst
Outdated
Show resolved
Hide resolved
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
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.
LGTM
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.
Confirmed that the new test fails without the fix.
Sorry, @sobolevn and @asvetlov, I could not cleanly backport this to |
GH-31440 is a backport of this pull request to the 3.10 branch. |
…ythonGH-31187) Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com> (cherry picked from commit 4ab8167) Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
GH-31441 is a backport of this pull request to the 3.9 branch. |
…ils (pythonGH-31187) Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>. (cherry picked from commit 4ab8167) Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
…ils (pythonGH-31187) (pythonGH-31441) Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
I am a bit unsure about the full coverage of
if outer is None or outer.done():
condition. Does it cover all corner cases?https://bugs.python.org/issue46672