8000 GH-121131: Clean up and fix some instrumented instructions. by markshannon · Pull Request #121132 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

GH-121131: Clean up and fix some instrumented instructions. #121132

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 4 commits into from
Jul 26, 2024

Conversation

markshannon
Copy link
Member
@markshannon markshannon commented Jun 28, 2024

This was supposed to be just a refactoring, but it exposed #121131.

  • Add support for prev_instr in the code generator.
  • Use that to move INSTRUMENTED_LINE to bytecodes.c
  • Fix bug in INSTRUMENTED_YIELD_VALUE.

Copy link
Member
@iritkatriel iritkatriel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great!

@markshannon markshannon merged commit afb0aa6 into python:main Jul 26, 2024
65 checks passed
@markshannon markshannon deleted the tidy-up-instrumented branch August 6, 2024 10:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0