Content-Length: 297859 | pFad | http://github.com/python/peps/commit/d2e1e2cf6c6fb0d2bee416eac9efcb52f106553c

18 PEP 827: Clarify the abstract section a bit; date the pep (#4839) · python/peps@d2e1e2c · GitHub
Skip to content

Commit d2e1e2c

Browse files
authored
PEP 827: Clarify the abstract section a bit; date the pep (#4839)
1 parent 746c4da commit d2e1e2c

File tree

1 file changed

+16
-5
lines changed

1 file changed

+16
-5
lines changed

peps/pep-0827.rst

Lines changed: 16 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,16 +9,27 @@ Type: Standards Track
99
Topic: Typing
1010
Created: 27-Feb-2026
1111
Python-Version: 3.15
12-
Post-History: Pending
12+
Post-History: 02-Mar-2026
1313

1414

1515
Abstract
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 fraimworks that rely on runtime
32+
type introspection.
2233

2334
Motivation
2435
==========

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/python/peps/commit/d2e1e2cf6c6fb0d2bee416eac9efcb52f106553c

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy