[issue45679] typing.Literal[True] is implicitly converted to typing.Literal[1]

Serhiy Storchaka report at bugs.python.org
Sun Oct 31 04:22:20 EDT 2021


Serhiy Storchaka <storchaka+cpython at gmail.com> added the comment:


New changeset 634984d7dbdd91e0a51a793eed4d870e139ae1e0 by Serhiy Storchaka in branch 'main':
bpo-45679: Fix caching of multi-value typing.Literal (GH-29334)
https://github.com/python/cpython/commit/634984d7dbdd91e0a51a793eed4d870e139ae1e0


----------

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


More information about the Python-bugs-list mailing list