[issue44600] match/case statements trace incorrectly in 3.10.0b4
Brandt Bucher
report at bugs.python.org
Sun Jul 11 18:10:08 EDT 2021
Brandt Bucher <brandtbucher at gmail.com> added the comment:
Thanks, I'll take a closer look at this soon (most likely this coming week).
Out of curiosity, do we have a standard way of writing regression tests for correct line numbers like this? Of the top of my head, it seems like we could either statically compare the dis output (fragile) or actually execute some code with a trace function enabled and check the line hits (tricky).
Neither really seems ideal, so I'm wondering if there's be a better way?
----------
assignee: -> brandtbucher
type: -> behavior
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue44600>
_______________________________________
More information about the Python-bugs-list
mailing list