[issue42345] Equality of typing.Literal depends on the order of arguments

Guido van Rossum report at bugs.python.org
Fri Nov 13 10:46:53 EST 2020


Guido van Rossum <guido at python.org> added the comment:

Probably the implementation focused on static typing, not runtime checking.

Can you come up with a PR for a fix?

----------
stage:  -> needs patch
versions: +Python 3.10, Python 3.8

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


More information about the Python-bugs-list mailing list