[issue44658] No ValueError for duplicate key value in mapping patern when lengths do not match
Jack DeVries
report at bugs.python.org
Fri Jul 16 16:38:07 EDT 2021
Jack DeVries <jdevries3133 at gmail.com> added the comment:
Another option if this problem is isolated to mapping patterns, we could introduce a new op-code: BUILD_MATCH_MAP, which is essentially a wrapper around BUILD_MAP that disallows duplicate key values.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue44658>
_______________________________________
More information about the Python-bugs-list
mailing list