Skip to content
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

fix line number for python 3.12 #666

Open
wants to merge 1 commit into
base: python_3_12
Choose a base branch
from

Conversation

penguin-wwy
Copy link

The linetable for 3.12 and 3.11 have the same structure, refactored to a common macro.

Current py-spy dump output on the tests/scripts/longsleep.py test case:

Process 1721748: python tests/scripts/longsleep.py
Python v3.12.1 (/data/home/self/.pyenv/versions/3.12.1/bin/python3.12)

Thread 1721748 (idle)
    longsleep (longsleep.py:5)
    <module> (longsleep.py:9)
    <interpreter trampoline> (<shim>:1)

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.

1 participant