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

bpo-46672: fix NameError in asyncio.gather if type check fails #31187

Merged
merged 2 commits into from Feb 20, 2022

Conversation

sobolevn
Copy link
Member

@sobolevn sobolevn commented Feb 7, 2022

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

Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
Copy link
Contributor

@kumaraditya303 kumaraditya303 left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Member

@JelleZijlstra JelleZijlstra left a 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.

@asvetlov asvetlov merged commit 4ab8167 into python:main Feb 20, 2022
@miss-islington
Copy link
Contributor

Thanks @sobolevn for the PR, and @asvetlov for merging it 🌮🎉.. I'm working now to backport this PR to: 3.9, 3.10.
🐍🍒⛏🤖

@miss-islington
Copy link
Contributor

Sorry, @sobolevn and @asvetlov, I could not cleanly backport this to 3.9 due to a conflict.
Please backport using cherry_picker on command line.
cherry_picker 4ab8167b9c60d1a04b2e3116d0c52db254b68cda 3.9

@bedevere-bot
Copy link

GH-31440 is a backport of this pull request to the 3.10 branch.

@bedevere-bot bedevere-bot removed the needs backport to 3.10 only security fixes label Feb 20, 2022
miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Feb 20, 2022
…ythonGH-31187)

Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
(cherry picked from commit 4ab8167)

Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
@bedevere-bot bedevere-bot removed the needs backport to 3.9 only security fixes label Feb 20, 2022
@bedevere-bot
Copy link

GH-31441 is a backport of this pull request to the 3.9 branch.

asvetlov pushed a commit to asvetlov/cpython that referenced this pull request Feb 20, 2022
…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>
asvetlov added a commit that referenced this pull request Feb 20, 2022
…ils (GH-31187) (GH-31441)

Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
asvetlov pushed a commit that referenced this pull request Feb 20, 2022
…H-31187) (GH-31440)

Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
(cherry picked from commit 4ab8167)

Co-authored-by: Nikita Sobolev <mail@sobolevn.me>

Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
hello-adam pushed a commit to hello-adam/cpython that referenced this pull request Jun 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

8 participants