Statements (32)
Predicate | Object |
---|---|
gptkbp:instance_of |
gptkb:Library
|
gptkbp:bfsLayer |
5
|
gptkbp:bfsParent |
gptkb:PEP_484
|
gptkbp:abstract |
This PEP proposes to postpone the evaluation of type annotations.
|
gptkbp:author |
gptkb:Guido_van_Rossum
|
gptkbp:benefits |
Allows forward references in type annotations.
|
gptkbp:caused_by |
Type annotations can be expensive to evaluate.
|
gptkbp:created |
2018-06-04
|
gptkbp:discusses |
The proposal was discussed on the python-ideas mailing list.
python-ideas |
gptkbp:ends_at |
The PEP was accepted and implemented.
|
gptkbp:example |
def func() -> ' Some Type': pass
|
https://www.w3.org/2000/01/rdf-schema#label |
PEP 563
|
gptkbp:impact |
Affects type hinting in Python.
|
gptkbp:is_discussed_in |
The proposal received positive feedback.
|
gptkbp:is_implemented_in |
gptkb:Python_3.7
Implemented in C Python. The implementation allows for annotations to be stored as strings. |
gptkbp:is_motivated_by |
To improve the performance of type annotations.
|
gptkbp:is_referenced_in |
https://www.python.org/dev/peps/pep-0563/
|
gptkbp:key_issues |
Postponed evaluation, type annotations.
|
gptkbp:latest_version |
3.7+
|
gptkbp:related_to |
gptkb:PEP_586
gptkb:PEP_591 gptkb:PEP_585 |
gptkbp:replaced_by |
gptkb:PEP_484
|
gptkbp:requires |
gptkb:PEP_484
|
gptkbp:status |
gptkb:Final
gptkb:Accepted |
gptkbp:title |
Postponed Evaluation of Type Annotations
|
gptkbp:type |
gptkb:battle
|
gptkbp:updates |
2020-09-29
|