-
-
Notifications
You must be signed in to change notification settings - Fork 30.6k
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
Support functools.partial in inspect.is*function() checks #79071
Comments
isfunction() processes both But We can implement it easy by adding a check for Also, we can do the same for The patch looks easy and straightforward. Yuri, what do you think about? |
I think the fact that This is a backwards incompatible change though, strictly speaking. |
Feel free to work on the PR. If we want to push this to 3.8 we should do that now and have enough time for it to be tested. |
See https://bugs.python.org/issue46722 for a concern about this change. |
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: