Skip to content

[3.15] gh-151665: Fix inspect.signature() on type alias and type parameter e…#151787

Open
deadlovelll wants to merge 1 commit into
python:3.15from
deadlovelll:gh-151665-inspect-format-param-3.15
Open

[3.15] gh-151665: Fix inspect.signature() on type alias and type parameter e…#151787
deadlovelll wants to merge 1 commit into
python:3.15from
deadlovelll:gh-151665-inspect-format-param-3.15

Conversation

@deadlovelll

Copy link
Copy Markdown
Contributor

Fixes the inspect.signature() failure on the lazy evaluators of type aliases and type parameters, whose hidden .format parameter is now shown as format. This fix intended only for 3.15 and lower versions

For more details see gh-151665

@deadlovelll deadlovelll changed the title gh-151665: Fix inspect.signature() on type alias and type parameter e… [3.15] gh-151665: Fix inspect.signature() on type alias and type parameter e… Jun 20, 2026
@JelleZijlstra JelleZijlstra added needs backport to 3.13 bugs and security fixes needs backport to 3.14 bugs and security fixes labels Jun 20, 2026

@JelleZijlstra JelleZijlstra left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you! Looks good, but let's get the main branch fix in first.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

awaiting merge needs backport to 3.13 bugs and security fixes needs backport to 3.14 bugs and security fixes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants