-
-
Notifications
You must be signed in to change notification settings - Fork 32k
gh-112006: Fix inspect.unwrap() for types where __wrapped__ is a data descriptor #115540
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
…data descriptor This also fixes inspect.Signature.from_callable() for builtins classmethod() and staticmethod().
@larryhastings, @1st1, please take a look. It breaks the test added in 7c7cbfc (bpo-15008/gh-59213), but I think that it was incorrect. |
Thanks @serhiy-storchaka for the PR 🌮🎉.. I'm working now to backport this PR to: 3.11. |
Thanks @serhiy-storchaka for the PR 🌮🎉.. I'm working now to backport this PR to: 3.12. |
…a data descriptor (pythonGH-115540) This also fixes inspect.Signature.from_callable() for builtins classmethod() and staticmethod(). (cherry picked from commit 68c79d2) Co-authored-by: Serhiy Storchaka <[email protected]>
GH-115965 is a backport of this pull request to the 3.11 branch. |
…a data descriptor (pythonGH-115540) This also fixes inspect.Signature.from_callable() for builtins classmethod() and staticmethod(). (cherry picked from commit 68c79d2) Co-authored-by: Serhiy Storchaka <[email protected]>
GH-115966 is a backport of this pull request to the 3.12 branch. |
… a data descriptor (GH-115540) (GH-115966) (cherry picked from commit 68c79d2) Co-authored-by: Serhiy Storchaka <[email protected]>
… a data descriptor (GH-115540) (GH-115965) (cherry picked from commit 68c79d2) Co-authored-by: Serhiy Storchaka <[email protected]>
|
…a data descriptor (pythonGH-115540) This also fixes inspect.Signature.from_callable() for builtins classmethod() and staticmethod().
…a data descriptor (pythonGH-115540) This also fixes inspect.Signature.from_callable() for builtins classmethod() and staticmethod().
…a data descriptor (pythonGH-115540) This also fixes inspect.Signature.from_callable() for builtins classmethod() and staticmethod().
…a data descriptor (pythonGH-115540) This also fixes inspect.Signature.from_callable() for builtins classmethod() and staticmethod().
This also fixes inspect.Signature.from_callable() for builtins classmethod() and staticmethod().
__wrapped__
data descriptor #112006