[issue39308] Literal declarations are not typed. Literal[True] can be Literal[1] if declared after latter.

Tomasz Trębski report at bugs.python.org
Sat Jan 11 18:54:26 EST 2020


Tomasz Trębski <kornicameister at gmail.com> added the comment:

Also happens in `3.8`, so right when `Literal` got moved to core `Python`.

----------
versions: +Python 3.8

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue39308>
_______________________________________


More information about the Python-bugs-list mailing list