René's URL Explorer Experiment


Title: PEP 695 – Type Parameter Syntax | peps.python.org

Open Graph Title: PEP 695 – Type Parameter Syntax | peps.python.org

Description: This PEP specifies an improved syntax for specifying type parameters within a generic class, function, or type alias. It also introduces a new statement for declaring type aliases.

Open Graph Description: This PEP specifies an improved syntax for specifying type parameters within a generic class, function, or type alias. It also introduces a new statement for declaring type aliases.

Opengraph URL: https://peps.python.org/pep-0695/

direct link

Domain: peps.python.org

color-schemelight dark
og:typewebsite
og:site_namePython Enhancement Proposals (PEPs)
og:imagehttps://peps.python.org/_static/og-image.png
og:image:altPython PEPs
og:image:width200
og:image:height200
theme-color#3776ab

Links:

Pythonhttps://www.python.org/
PEP Indexhttps://peps.python.org/pep-0000/
Typing-SIG threadhttps://mail.python.org/archives/list/typing-sig@python.org/thread/BB2BGYJY2YG5IWESKGTAPUQL3N27ZKVW/
Typinghttps://peps.python.org/topic/typing/
20-Jun-2022https://mail.python.org/archives/list/typing-sig@python.org/thread/BB2BGYJY2YG5IWESKGTAPUQL3N27ZKVW/
04-Dec-2022https://discuss.python.org/t/pep-695-type-parameter-syntax/21646
Discourse messagehttps://discuss.python.org/t/pep-695-type-parameter-syntax/21646/92
Abstracthttps://peps.python.org/695#abstract
Motivationhttps://peps.python.org/695#motivation
Points of Confusionhttps://peps.python.org/695#points-of-confusion
Summary Exampleshttps://peps.python.org/695#summary-examples
Specificationhttps://peps.python.org/695#specification
Type Parameter Declarationshttps://peps.python.org/695#type-parameter-declarations
Upper Bound Specificationhttps://peps.python.org/695#upper-bound-specification
Constrained Type Specificationhttps://peps.python.org/695#constrained-type-specification
Runtime Representation of Bounds and Constraintshttps://peps.python.org/695#runtime-representation-of-bounds-and-constraints
Generic Type Aliashttps://peps.python.org/695#generic-type-alias
Runtime Type Alias Classhttps://peps.python.org/695#runtime-type-alias-class
Type Parameter Scopeshttps://peps.python.org/695#type-parameter-scopes
Accessing Type Parameters at Runtimehttps://peps.python.org/695#accessing-type-parameters-at-runtime
Variance Inferencehttps://peps.python.org/695#variance-inference
Auto Variance For TypeVarhttps://peps.python.org/695#auto-variance-for-typevar
Compatibility with Traditional TypeVarshttps://peps.python.org/695#compatibility-with-traditional-typevars
Runtime Implementationhttps://peps.python.org/695#runtime-implementation
Grammar Changeshttps://peps.python.org/695#grammar-changes
AST Changeshttps://peps.python.org/695#ast-changes
Lazy Evaluationhttps://peps.python.org/695#lazy-evaluation
Scoping Behaviorhttps://peps.python.org/695#scoping-behavior
Library Changeshttps://peps.python.org/695#library-changes
Reference Implementationhttps://peps.python.org/695#reference-implementation
Rejected Ideashttps://peps.python.org/695#rejected-ideas
Prefix Clausehttps://peps.python.org/695#prefix-clause
Angle Bracketshttps://peps.python.org/695#angle-brackets
Bounds Syntaxhttps://peps.python.org/695#bounds-syntax
Explicit Variancehttps://peps.python.org/695#explicit-variance
Name Manglinghttps://peps.python.org/695#name-mangling
Appendix A: Survey of Type Parameter Syntaxhttps://peps.python.org/695#appendix-a-survey-of-type-parameter-syntax
C++https://peps.python.org/695#c
Javahttps://peps.python.org/695#java
C#https://peps.python.org/695#id2
TypeScripthttps://peps.python.org/695#typescript
Scalahttps://peps.python.org/695#scala
Swifthttps://peps.python.org/695#swift
Rusthttps://peps.python.org/695#rust
Kotlinhttps://peps.python.org/695#kotlin
Juliahttps://peps.python.org/695#julia
Darthttps://peps.python.org/695#dart
Gohttps://peps.python.org/695#go
Summaryhttps://peps.python.org/695#summary
Acknowledgementshttps://peps.python.org/695#acknowledgements
Copyrighthttps://peps.python.org/695#copyright
Variance Inferencehttps://typing.python.org/en/latest/spec/generics.html#variance-inference
Type aliaseshttps://typing.python.org/en/latest/spec/aliases.html#type-aliases
Type parameter listshttps://docs.python.org/3/reference/compound_stmts.html#type-params
The type statementhttps://docs.python.org/3/reference/simple_stmts.html#type
Annotation scopeshttps://docs.python.org/3/reference/executionmodel.html#annotation-scopes
typing specs sitehttps://typing.python.org/en/latest/spec/
typing specification update processhttps://typing.python.org/en/latest/spec/meta.html
Abstracthttps://peps.python.org/695#abstract
Motivationhttps://peps.python.org/695#motivation
PEP 484https://peps.python.org/pep-0484/
PEP 612https://peps.python.org/pep-0612/
PEP 646https://peps.python.org/pep-0646/
Points of Confusionhttps://peps.python.org/695#points-of-confusion
PEP 483https://peps.python.org/pep-0483/
PEP 484https://peps.python.org/pep-0484/
Summary Exampleshttps://peps.python.org/695#summary-examples
Specificationhttps://peps.python.org/695#specification
Type Parameter Declarationshttps://peps.python.org/695#type-parameter-declarations
PEP 646https://peps.python.org/pep-0646/
PEP 612https://peps.python.org/pep-0612/
Upper Bound Specificationhttps://peps.python.org/695#upper-bound-specification
Constrained Type Specificationhttps://peps.python.org/695#constrained-type-specification
PEP 484https://peps.python.org/pep-0484/
Runtime Representation of Bounds and Constraintshttps://peps.python.org/695#runtime-representation-of-bounds-and-constraints
Lazy Evaluationhttps://peps.python.org/695#lazy-evaluation
Generic Type Aliashttps://peps.python.org/695#generic-type-alias
PEP 613https://peps.python.org/pep-0613/
Runtime Type Alias Classhttps://peps.python.org/695#runtime-type-alias-class
Lazy Evaluationhttps://peps.python.org/695#lazy-evaluation
Type Parameter Scopeshttps://peps.python.org/695#type-parameter-scopes
Scoping Behaviorhttps://peps.python.org/695#id1
PEP 484https://peps.python.org/pep-0484/
Accessing Type Parameters at Runtimehttps://peps.python.org/695#accessing-type-parameters-at-runtime
Variance Inferencehttps://peps.python.org/695#variance-inference
PEP 484https://peps.python.org/pep-0484/
Auto Variance For TypeVarhttps://peps.python.org/695#auto-variance-for-typevar
Compatibility with Traditional TypeVarshttps://peps.python.org/695#compatibility-with-traditional-typevars
Runtime Implementationhttps://peps.python.org/695#runtime-implementation
Grammar Changeshttps://peps.python.org/695#grammar-changes
AST Changeshttps://peps.python.org/695#ast-changes
Lazy Evaluationhttps://peps.python.org/695#lazy-evaluation
PEP 563https://peps.python.org/pep-0563/
PEP 649https://peps.python.org/pep-0649/
PEP 649https://peps.python.org/pep-0649/
PEP 649https://peps.python.org/pep-0649/
Scoping Behaviorhttps://peps.python.org/695#scoping-behavior
Library Changeshttps://peps.python.org/695#library-changes
Reference Implementationhttps://peps.python.org/695#reference-implementation
CPython PR #103764https://github.com/python/cpython/pull/103764
Rejected Ideashttps://peps.python.org/695#rejected-ideas
Prefix Clausehttps://peps.python.org/695#prefix-clause
Angle Bracketshttps://peps.python.org/695#angle-brackets
Bounds Syntaxhttps://peps.python.org/695#bounds-syntax
Explicit Variancehttps://peps.python.org/695#explicit-variance
Name Manglinghttps://peps.python.org/695#name-mangling
Appendix A: Survey of Type Parameter Syntaxhttps://peps.python.org/695#appendix-a-survey-of-type-parameter-syntax
C++https://peps.python.org/695#c
Javahttps://peps.python.org/695#java
C#https://peps.python.org/695#id2
TypeScripthttps://peps.python.org/695#typescript
Scalahttps://peps.python.org/695#scala
Swifthttps://peps.python.org/695#swift
Rusthttps://peps.python.org/695#rust
Kotlinhttps://peps.python.org/695#kotlin
Juliahttps://peps.python.org/695#julia
Darthttps://peps.python.org/695#dart
Gohttps://peps.python.org/695#go
Summaryhttps://peps.python.org/695#summary
Acknowledgementshttps://peps.python.org/695#acknowledgements
Copyrighthttps://peps.python.org/695#copyright
https://github.com/python/peps/blob/main/peps/pep-0695.rsthttps://github.com/python/peps/blob/main/peps/pep-0695.rst
2025-07-07 12:42:34 GMThttps://github.com/python/peps/commits/main/peps/pep-0695.rst
Abstracthttps://peps.python.org/695#abstract
Motivationhttps://peps.python.org/695#motivation
Points of Confusionhttps://peps.python.org/695#points-of-confusion
Summary Exampleshttps://peps.python.org/695#summary-examples
Specificationhttps://peps.python.org/695#specification
Type Parameter Declarationshttps://peps.python.org/695#type-parameter-declarations
Upper Bound Specificationhttps://peps.python.org/695#upper-bound-specification
Constrained Type Specificationhttps://peps.python.org/695#constrained-type-specification
Runtime Representation of Bounds and Constraintshttps://peps.python.org/695#runtime-representation-of-bounds-and-constraints
Generic Type Aliashttps://peps.python.org/695#generic-type-alias
Runtime Type Alias Classhttps://peps.python.org/695#runtime-type-alias-class
Type Parameter Scopeshttps://peps.python.org/695#type-parameter-scopes
Accessing Type Parameters at Runtimehttps://peps.python.org/695#accessing-type-parameters-at-runtime
Variance Inferencehttps://peps.python.org/695#variance-inference
Auto Variance For TypeVarhttps://peps.python.org/695#auto-variance-for-typevar
Compatibility with Traditional TypeVarshttps://peps.python.org/695#compatibility-with-traditional-typevars
Runtime Implementationhttps://peps.python.org/695#runtime-implementation
Grammar Changeshttps://peps.python.org/695#grammar-changes
AST Changeshttps://peps.python.org/695#ast-changes
Lazy Evaluationhttps://peps.python.org/695#lazy-evaluation
Scoping Behaviorhttps://peps.python.org/695#scoping-behavior
Library Changeshttps://peps.python.org/695#library-changes
Reference Implementationhttps://peps.python.org/695#reference-implementation
Rejected Ideashttps://peps.python.org/695#rejected-ideas
Prefix Clausehttps://peps.python.org/695#prefix-clause
Angle Bracketshttps://peps.python.org/695#angle-brackets
Bounds Syntaxhttps://peps.python.org/695#bounds-syntax
Explicit Variancehttps://peps.python.org/695#explicit-variance
Name Manglinghttps://peps.python.org/695#name-mangling
Appendix A: Survey of Type Parameter Syntaxhttps://peps.python.org/695#appendix-a-survey-of-type-parameter-syntax
C++https://peps.python.org/695#c
Javahttps://peps.python.org/695#java
C#https://peps.python.org/695#id2
TypeScripthttps://peps.python.org/695#typescript
Scalahttps://peps.python.org/695#scala
Swifthttps://peps.python.org/695#swift
Rusthttps://peps.python.org/695#rust
Kotlinhttps://peps.python.org/695#kotlin
Juliahttps://peps.python.org/695#julia
Darthttps://peps.python.org/695#dart
Gohttps://peps.python.org/695#go
Summaryhttps://peps.python.org/695#summary
Acknowledgementshttps://peps.python.org/695#acknowledgements
Copyrighthttps://peps.python.org/695#copyright
Page Source (GitHub)https://github.com/python/peps/blob/main/peps/pep-0695.rst?plain=1

Viewport: width=device-width, initial-scale=1.0


URLs of crawlers that visited me.