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
Assertion failure in inspect.signature on unbound partialmethods #77190
Comments
The following example crashes Python 3.6: from functools import partialmethod
import inspect
class T:
g = partialmethod((lambda self, x: x), 1)
with
|
This is not a crash, but an assertion failure. The assertion was added in bpo-30149. |
Yeah, that assertion needs to be tweaked a little bit. Created a PR. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: