[issue42128] Structural Pattern Matching (PEP 634)

Pablo Galindo Salgado report at bugs.python.org
Wed Mar 3 14:06:47 EST 2021


Pablo Galindo Salgado <pablogsal at gmail.com> added the comment:

Opened https://github.com/python/cpython/pull/24732

> I'm also not entirely sure how "unnamed fields" work, or what they're used for. Presumably, we'd want to end the __match_args__ tuple upon hitting one of these?

AFAIK, they should be just excluded from __match_args__

----------

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


More information about the Python-bugs-list mailing list