-
-
Notifications
You must be signed in to change notification settings - Fork 31.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
gh-120200: Fix inspect.iscoroutinefunction(inspect) is True
corner case
#120214
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.
Good find, good fix!
Thanks @sobolevn for the PR 🌮🎉.. I'm working now to backport this PR to: 3.12. |
Thanks @sobolevn for the PR 🌮🎉.. I'm working now to backport this PR to: 3.13. |
Sorry, @sobolevn, I could not cleanly backport this to
|
…orner case (pythonGH-120214) (cherry picked from commit 10fb1b8) Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
GH-120237 is a backport of this pull request to the 3.13 branch. |
…True` corner case (pythonGH-120214) (cherry picked from commit 10fb1b8) Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
Are we fine with 3.12 and 3.13 backports? I just created them, but haven't merged anything yet. |
GH-120239 is a backport of this pull request to the 3.12 branch. |
Yes totally fine. This is just a bug. |
CC @carltongibson as the original author
CC @gvanrossum and @kumaraditya303 as original reviewers
I think that the name change is the somplest fix here. Since this name is protected and undocumented, this should not be a breaking change.
However, what do we care about more? Supporting this corner-case or keeping the old name?
If the former, then I can close this PR.