Uh oh!
There was an error while loading. Please reload this page.
bpo-38908: Fix issue when non runtime_protocol does not raise TypeError - #26067
Conversation
Fidget-Spinner
left a comment
There was a problem hiding this comment.
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
commented
May 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
commented
May 12, 2021
Oh interesting! classP(Protocol): x : intdoesn't! |
Fidget-Spinner
left a comment
There was a problem hiding this comment.
LGTM. Once again, thank you for fixing this!
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.
Thanks! Does this need backporting?
bedevere-bot
commented
May 12, 2021
@gvanrossum: Please replace |
miss-islington
commented
May 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 commit c40486a) Co-authored-by: Yurii Karabas <1998uriyyo@gmail.com>
bedevere-bot
commented
May 12, 2021
GH-26073 is a backport of this pull request to the 3.10 branch. |
miss-islington
commented
May 12, 2021
Sorry, @uriyyo and @gvanrossum, I could not cleanly backport this to |
Fidget-Spinner
commented
May 12, 2021
I'm on it. It's clashing because the |
bedevere-bot
commented
May 12, 2021
GH-26075 is a backport of this pull request to the 3.9 branch. |
… raise TypeError (pythonGH-26067) (pythonGH-26075)" This reverts commit 88136bb.
Backport of CPython PR 26067 (python/cpython#26067)
https://bugs.python.org/issue38908