[issue44741] Pattern Matching - star subpattern with a subject derived from collections.abc.Sequence

Brandt Bucher report at bugs.python.org
Mon Jul 26 15:17:38 EDT 2021


Brandt Bucher <brandtbucher at gmail.com> added the comment:

I agree, Pablo.

The only thing that makes me pause is that, depending on the pattern, *sometimes* we use iteration and *sometimes* we use indexing. That might be sort of surprising to classes like Seq if you change patterns or major Python versions and this thing starts hanging. Hopefully, though, the reason will be relatively easy to debug and fix.

Closing as "not a bug".

----------
resolution:  -> not a bug
stage:  -> resolved
status: open -> closed
type: crash -> behavior

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


More information about the Python-bugs-list mailing list