Skip to content

[3.12] gh-112006: Fix inspect.unwrap() for types where __wrapped__ is a data descriptor (GH-115540)#115966

Merged
serhiy-storchaka merged 2 commits intopython:3.12from
miss-islington:backport-68c79d2-3.12
Feb 27, 2024
Merged

[3.12] gh-112006: Fix inspect.unwrap() for types where __wrapped__ is a data descriptor (GH-115540)#115966
serhiy-storchaka merged 2 commits intopython:3.12from
miss-islington:backport-68c79d2-3.12

Conversation

@miss-islington
Copy link
Contributor

@miss-islington miss-islington commented Feb 26, 2024

This also fixes inspect.Signature.from_callable() for builtins classmethod()
and staticmethod().
(cherry picked from commit 68c79d2)

Co-authored-by: Serhiy Storchaka storchaka@gmail.com

…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 <storchaka@gmail.com>
@serhiy-storchaka serhiy-storchaka enabled auto-merge (squash) February 27, 2024 18:20
@serhiy-storchaka serhiy-storchaka merged commit 418e720 into python:3.12 Feb 27, 2024
@miss-islington miss-islington deleted the backport-68c79d2-3.12 branch January 2, 2026 17:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants