File tree Expand file tree Collapse file tree 1 file changed +16
-5
lines changed
Expand file tree Collapse file tree 1 file changed +16
-5
lines changed Original file line number Diff line number Diff line change @@ -9,16 +9,27 @@ Type: Standards Track
99Topic: Typing
1010Created: 27-Feb-2026
1111Python-Version: 3.15
12- Post-History: Pending
12+ Post-History: 02-Mar-2026
1313
1414
1515Abstract
1616========
1717
18- We propose to add powerful type-level introspection and construction
19- facilities to the type system, inspired in large part by
20- TypeScript's conditional and mapped types, but adapted to the quite
21- different conditions of Python typing.
18+ We propose adding powerful type-level introspection and construction
19+ facilities to Python's type system. This design is inspired largely by
20+ TypeScript's conditional and mapped types, but is adapted to the distinct
21+ semantics and constraints of Python's typing model.
22+
23+ From the bird's-eye view, this proposal aims to:
24+
25+ * introduce new primitives in the ``typing `` module;
26+
27+ * broaden the annotation syntax supported by static type checkers,
28+ without requiring changes to Python's grammar;
29+
30+ * ensure that the new type-level machinery benefits both
31+ static type checkers and frameworks that rely on runtime
32+ type introspection.
2233
2334Motivation
2435==========
You can’t perform that action at this time.
0 commit comments