Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork33.3k
gh-127750: Restore inspect and pydoc support of singledispatchmethod#130309
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
gh-127750: Restore inspect and pydoc support of singledispatchmethod#130309
Uh oh!
There was an error while loading.Please reload this page.
Conversation
…ethodThe code is still flawed, because it does not recognize class and staticmethods, and the first argument is not removed from the signature ofbound methods, but at least it does not worse than in 3.13 and older.
serhiy-storchaka commentedFeb 19, 2025
This is a follow up of#130008. @AA-Turner, I do not know whether this is enough for Sphinx. If not, we will find other solution. Sphinx itself can use a workaround (in |
10b3205 intopython:mainUh oh!
There was an error while loading.Please reload this page.
…spatchmethod (pythonGH-130309)The code is still flawed, because it does not recognize class and staticmethods, and the first argument is not removed from the signature ofbound methods, but at least it does not worse than in 3.13 and older.(cherry picked from commit10b3205)Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
…ythonGH-130309)(cherry picked from commit395335d)(cherry picked from commit10b3205)
GH-130340 is a backport of this pull request to the3.13 branch. |
…ythonGH-130309) (pythonGH-130340)(cherry picked from commit68c57d6)Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>(cherry picked from commit395335d)(cherry picked from commit10b3205)
Uh oh!
There was an error while loading.Please reload this page.
The code is still flawed, because it does not recognize class and static methods, and the first argument is not removed from the signature of bound methods, but at least it does not worse than in 3.13 and older.