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-125217: Turn off optimization around_PyEval_EvalFrameDefault to avoid MSVC crash #125477

Merged

Conversation

mdboom
Copy link
Contributor

@mdboom mdboom commented Oct 14, 2024

@@ -41,7 +41,6 @@ jobs:
./python -m test --multiprocess 0 --timeout 4500 --verbose2 --verbose3
jit:
name: ${{ matrix.target }} (${{ matrix.debug && 'Debug' || 'Release' }})
needs: interpreter
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Removing the requirement on the Tier 2 interpreter pass here, since it seems to be failing consistently on test.test_asyncio.test_taskgroups, and I'm not sure that's relevant to this PR.

Copy link
Contributor

Choose a reason for hiding this comment

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

See #125472.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Ah, thanks. We won't merge these changes, then, but it's useful for now to illustrate that the fix here works.

@mdboom mdboom force-pushed the disable-interpreter-optimizations-when-jit-enabled branch from bfcfe72 to 8340829 Compare October 15, 2024 14:28
Python/jit.c Outdated
@@ -18,6 +18,7 @@
#include "pycore_sliceobject.h"
#include "pycore_jit.h"


Copy link
Contributor Author

Choose a reason for hiding this comment

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

This is to trigger the JIT CI, but I can remove this commit before merging.

@mdboom mdboom force-pushed the disable-interpreter-optimizations-when-jit-enabled branch from a55510c to 8340829 Compare October 16, 2024 12:17
@mdboom mdboom enabled auto-merge (squash) October 16, 2024 12:22
@mdboom mdboom merged commit 51410d8 into python:main Oct 16, 2024
39 of 65 checks passed
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.

3 participants