Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork33.3k
bpo-38908: Fix issue when non runtime_protocol does not raise TypeError#26067
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
Fidget-Spinner left a comment
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.
Yurii, thanks for sending a PR to make sure there are no regressions for this long-standing issue!
Uh oh!
There was an error while loading.Please reload this page.
Co-authored-by: Ken Jin <28750310+Fidget-Spinner@users.noreply.github.com>
uriyyo commentedMay 12, 2021
@Fidget-Spinner It is not regression, I made a mistake when said that this issue was not present at 3.11 version. This issue still present and this PR will fix it. |
Fidget-Spinner commentedMay 12, 2021
Oh interesting! classP(Protocol):x :int doesn't! |
Fidget-Spinner left a comment
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. Once again, thank you for fixing this!
Misc/NEWS.d/next/Library/2021-05-12-16-43-21.bpo-38908.nM2_rO.rst OutdatedShow resolvedHide resolved
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Co-authored-by: Ken Jin <28750310+Fidget-Spinner@users.noreply.github.com>
gvanrossum left a comment
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! Does this need backporting?
bedevere-bot commentedMay 12, 2021
@gvanrossum: Please replace |
miss-islington commentedMay 12, 2021
Thanks@uriyyo for the PR, and@gvanrossum for merging it 🌮🎉.. I'm working now to backport this PR to: 3.10, 3.9. |
…ror (pythonGH-26067)(cherry picked from commitc40486a)Co-authored-by: Yurii Karabas <1998uriyyo@gmail.com>
bedevere-bot commentedMay 12, 2021
GH-26073 is a backport of this pull request to the3.10 branch. |
miss-islington commentedMay 12, 2021
Sorry,@uriyyo and@gvanrossum, I could not cleanly backport this to |
Fidget-Spinner commentedMay 12, 2021
I'm on it. It's clashing because the |
bedevere-bot commentedMay 12, 2021
GH-26075 is a backport of this pull request to the3.9 branch. |
… raise TypeError (pythonGH-26067) (pythonGH-26075)"This reverts commit88136bb.
Backport of CPython PR 26067 (python/cpython#26067)
Uh oh!
There was an error while loading.Please reload this page.
https://bugs.python.org/issue38908