Skip to content

PEP 695 -- Type Parameter Syntax: Proposed changes #186

Closed
@JelleZijlstra

Description

@JelleZijlstra

While implementing PEP-695 I ran into a few issues that I think are best addressed by changing the PEP. The biggest change is to make type alias values and TypeVar bounds and constraints lazily evaluated, in line with the proposed semantics of PEP-649.

The proposed changes are here: https://github.com/python/peps/pull/3122/files.

My implementation in python/cpython#103763 already implements the proposed semantics.

Please take a look and let me know if you agree with these changes.

Metadata

Metadata

Assignees

No one assigned

    Labels

    PEPPython Enhancement Proposal

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions