Skip to content

[3.9] bpo-45838: Fix incorrect line numbers in Tools/gdb/libpython.py #29628

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

Merged
merged 1 commit into from
Nov 19, 2021

Conversation

colesbury
Copy link
Contributor

@colesbury colesbury commented Nov 18, 2021

The line number calculation in libpython.py did not properly handle
negative (signed) line table deltas.

https://bugs.python.org/issue45838

The line number calculation in libpython.py did not properly handle
negative (signed) line table deltas.
@colesbury
Copy link
Contributor Author

This PR is not relevant to 3.10 (or later) because the line number table format was changed (and the calculation fixed) in Python 3.10

@colesbury colesbury requested a review from ambv November 18, 2021 19:50
@ambv ambv merged commit 2a32dbf into python:3.9 Nov 19, 2021
@colesbury colesbury deleted the issue45838 branch January 6, 2022 16:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants