bpo-44600: Pattern-matching: line-numbers incorrectly traced on default case#27346
Conversation
Co-Authored-By: Brandt Bucher <brandtbucher@gmail.com>
Co-Authored-By: Brandt Bucher <brandtbucher@gmail.com>
Co-Authored-By: Brandt Bucher <brandtbucher@gmail.com>
…coverage for default case.
brandtbucher
left a comment
There was a problem hiding this comment.
Thanks @chaburkland! I've left some comments, but in general I really like your test framework here.
This PR should also have a NEWS entry. Just something simple, like:
Fix incorrect line numbers while tracing some failed patterns in :ref:`match <match>` statements. Patch by Charles Burkland.|
A Python core developer has requested some changes be made to your pull request before we can consider merging it. If you could please address their requests along with any other requests in other reviews from core developers that would be appreciated. Once you have made the requested changes, please leave a comment on this pull request containing the phrase And if you don't make the requested changes, you will be put in the comfy chair! |
Co-authored-by: Brandt Bucher <brandtbucher@gmail.com>
Co-authored-by: Brandt Bucher <brandtbucher@gmail.com>
Co-authored-by: Brandt Bucher <brandtbucher@gmail.com>
Co-authored-by: Brandt Bucher <brandtbucher@gmail.com>
Co-authored-by: Brandt Bucher <brandtbucher@gmail.com>
Co-authored-by: Brandt Bucher <brandtbucher@gmail.com>
|
I have made the requested changes; please review again |
|
Thanks for making the requested changes! @brandtbucher: please review the changes made to this pull request. |
|
Thanks @chaburkland for the PR, and @brandtbucher for merging it 🌮🎉.. I'm working now to backport this PR to: 3.10. |
|
GH-27356 is a backport of this pull request to the 3.10 branch. |
The test cases added directly mirror the examples raised by @nedbat in the originally raised issue.
https://bugs.python.org/issue44600