Skip to content

[Regression] TypeVar crashes when name is specified via keyword parameters #110782

Closed
@mxschmitt

Description

@mxschmitt

Crash report

What happened?

from typing import TypeVar
TypeVar(name="Handler")

Good: 3.11.X
Bad: 3.12.0

Downstream issue: jfhbrook/pyee#134

CPython versions tested on:

3.12

Operating systems tested on:

Linux, macOS

Output from running 'python -VV' on the command line:

Python 3.12.0 (main, Oct 12 2023, 00:42:11) [GCC 12.2.0]

Linked PRs

Metadata

Metadata

Assignees

Labels

topic-typingtype-crashA hard crash of the interpreter, possibly with a core dump

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions