Skip to content

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

@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

    pFad - Phonifier reborn

    Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

    Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


    Alternative Proxies:

    Alternative Proxy

    pFad Proxy

    pFad v3 Proxy

    pFad v4 Proxy