Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

PEP 695: typing.TypeVar should be subclassable #104662

Copy link
Copy link
Closed as not planned
Closed as not planned
Copy link
@JelleZijlstra

Description

@JelleZijlstra
Issue body actions

Previously typing.TypeVar could be subclassed, and typing_extensions actually does this. However, the new C implementation of TypeVar doesn't allow subclassing. For compatibility, let's restore the ability to subclass it.

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    Morty Proxy This is a proxified and sanitized view of the page, visit original site.