-
-
Notifications
You must be signed in to change notification settings - Fork 32.1k
gh-119698: fix symtable.Class.get_methods
and document its behaviour correctly
#120151
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
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.
I think we should also test here that we do identify a PEP 695 generic method (e.g. def f[T](self): ...
) as a method.
(I don't have strong opinions about whether we fix or document get_methods
, but seems like we may as well fix if this much of the work is already done to fix.)
A Python core developer has requested some changes be made to your pull request before we can consider merging it. If you could please address their requests along with any other requests in other reviews from core developers that would be appreciated. Once you have made the requested changes, please leave a comment on this pull request containing the phrase |
Thank you Carl, I have made the requested changes; please review again. The irony is that I worked on those blocks and I forgot about them in this PR... |
Thanks for making the requested changes! @carljm: please review the changes made to this pull request. |
7197e17
to
62d2d6d
Compare
|
|
|
|
|
|
|
|
…ehaviour correctly (#120151) (#120776) (cherry picked from commit b8a8e04) Co-authored-by: Bénédikt Tran <[email protected]>
|
|
|
|
|
|
|
|
|
…ehaviour correctly (GH-120151) (#120777) (cherry picked from commit b8a8e04) Co-authored-by: Bénédikt Tran <[email protected]>
|
|
|
|
|
|
…haviour correctly (python#120151) Co-authored-by: Jelle Zijlstra <[email protected]>
…haviour correctly (python#120151) Co-authored-by: Jelle Zijlstra <[email protected]>
…haviour correctly (python#120151) Co-authored-by: Jelle Zijlstra <[email protected]>
This is an alternative to #120148.
📚 Documentation preview 📚: https://cpython-previews--120151.org.readthedocs.build/