Skip to content

Commit 9e22ea0

Browse files
committed
Tweak description of open issues
1 parent dc885f4 commit 9e22ea0

1 file changed

Lines changed: 9 additions & 12 deletions

File tree

pep.rst

Lines changed: 9 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1788,18 +1788,15 @@ Open Issues
17881788
rejected. This does actually exactly mirror a potential **runtime**
17891789
evaluation-order dependence, though.
17901790

1791-
What exactly are the subtyping (etc) rules for unevaluated types
1792-
----------------------------------------------------------------
1793-
1794-
Because of generic functions, there will be plenty of cases where we
1795-
can't evaluate a type operator (because it's applied to an unresolved
1796-
type variable), and exactly what the type evaluation rules should be
1797-
in those cases is somewhat unclear.
1798-
1799-
Currently, in the proof of concept implementation in mypy, stuck type
1800-
evaluations implement subtype checking fully invariantly: we check
1801-
that the operators match and that every operand matches in both
1802-
arguments invariantly.
1791+
* Because of generic functions, there will be plenty of cases where we
1792+
can't evaluate a type operator (because it's applied to an unresolved
1793+
type variable), and exactly what the type evaluation rules should be
1794+
in those cases is somewhat unclear.
1795+
1796+
Currently, in the proof of concept implementation in mypy, stuck type
1797+
evaluations implement subtype checking fully invariantly: we check
1798+
that the operators match and that every operand matches in both
1799+
arguments invariantly.
18031800

18041801

18051802
Acknowledgements

0 commit comments

Comments
 (0)