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

GH-104584: Assorted fixes for the optimizer API. #105683

Merged
merged 10 commits into from Jun 19, 2023

Conversation

markshannon
Copy link
Member

@markshannon markshannon commented Jun 12, 2023

Fixes a few odds and ends found trying to fix #105682

Lib/test/test_capi/test_misc.py Outdated Show resolved Hide resolved
Lib/test/test_capi/test_misc.py Outdated Show resolved Hide resolved
Lib/test/test_capi/test_misc.py Outdated Show resolved Hide resolved
Python/bytecodes.c Show resolved Hide resolved
Python/bytecodes.c Outdated Show resolved Hide resolved
@brandtbucher brandtbucher self-requested a review June 12, 2023 17:25
Copy link
Member

@brandtbucher brandtbucher left a comment

Choose a reason for hiding this comment

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

+1 to all of @carljm's comments.

Objects/codeobject.c Outdated Show resolved Hide resolved
Python/optimizer.c Outdated Show resolved Hide resolved
Python/optimizer.c Show resolved Hide resolved
Python/optimizer.c Outdated Show resolved Hide resolved
Lib/test/test_capi/test_misc.py Outdated Show resolved Hide resolved
@gvanrossum
Copy link
Member

What's holding this up? I was playing around with the optimizer, trying to bootstrap a "hello world" version of a Tier 2 interpreter, and I need this to avoid crashes at exit (crashes that happened even without my changes).

@markshannon markshannon merged commit 5816199 into python:main Jun 19, 2023
19 checks passed
@markshannon markshannon deleted the fix-optimizer-api branch June 19, 2023 09:32
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.

./python -m test -v test_capi -m test_misc --forever fails.
5 participants