-
-
Notifications
You must be signed in to change notification settings - Fork 30.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
gh-94816: Improve coverage of decode_linetable #94853
gh-94816: Improve coverage of decode_linetable #94853
Conversation
This makes calls to co_lnotab to exercise this code, as well as generating synthetically large code to exercise the corner cases where line numbers need multiple bytes.
0d9d83d
to
5e8ec42
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! A few notes:
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One tiny suggestion (not a big deal, though). Just let me know when you're happy with it and I'll merge.
I'm guessing we won't be backporting any of these?
Co-authored-by: Brandt Bucher <[email protected]>
e4e54f2
to
c77f49d
Compare
Good suggestion. I made one tweak (the first opcode is a 2, not a 0). I'm fine with this now.
IMHO, I think it would be good to backport these to 3.11, but I defer to those with more experience with the process. I don't have perms to add the backport label ;) |
Windows x86 failure seems unrelated? |
Rerunning it now. I'll merge on success, then we can discuss on #94808 whether these should be backported. |
Status check is done, and it's a success ✅ . |
Thanks @mdboom for the PR 🌮🎉.. I'm working now to backport this PR to: 3.11. |
Sorry @mdboom, I had trouble checking out the |
Thanks @mdboom for the PR 🌮🎉.. I'm working now to backport this PR to: 3.11. |
This makes calls to co_lnotab to exercise this code, as well as generating synthetically large code to exercise the corner cases where line numbers need multiple bytes. Automerge-Triggered-By: GH:brandtbucher (cherry picked from commit 20b9d2a) Co-authored-by: Michael Droettboom <[email protected]>
GH-94884 is a backport of this pull request to the 3.11 branch. |
This makes calls to co_lnotab to exercise this code, as well
as generating synthetically large code to exercise the corner
cases where line numbers need multiple bytes.
Automerge-Triggered-By: GH:brandtbucher