-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
[BUG] Fast thread state access is broken by Py3.12a6 #5286
Labels
Milestone
Comments
This is now blocking building Cython with Python 3.12.0a6. |
(This also affects building other packages, not just Cython itself.) |
The footprint of this in cython seems to be:
and it is all behind a I started to look at how to fix this, but did not make it very far. |
dnicolodi
added a commit
to dnicolodi/cython
that referenced
this issue
Mar 27, 2023
CPython 3.12a6 made PyThreadState an opaque structure thus the fast thread state optimization cannot be employed anymore. Fixes cython#5286.
dnicolodi
added a commit
to dnicolodi/cython
that referenced
this issue
Mar 27, 2023
CPython 3.12a6 made PyThreadState an opaque structure thus the fast thread state optimization cannot be employed anymore. Fixes cython#5286.
scoder
pushed a commit
that referenced
this issue
Mar 28, 2023
CPython 3.12a6 made PyThreadState an opaque structure thus the fast thread state optimization cannot be employed as it is any more. Closes #5286
scoder
changed the title
[BUG] cython does not build with cpython main branch.
[BUG] Fast thread state access is broken by Py3.12a6
Mar 28, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
Cython fails to build itself on cpython main:
I believe that this is caused by feec49c40736fc05626a183a8d14c4ebbea5ae28 via python/cpython#101607 working on python/cpython#101578 . Rolling back to 027adf42cd85db41fee05b0a40d89ef822876c97 (the previous commit) does fix cython building itself.
Code to reproduce the behaviour:
Expected behaviour
No response
Environment
OS: [e.g. Linux, Windows, macOS] linux
Python version [e.g. 3.10.2] main (2f62a5da949cd368a9498e6a03e700f4629fa97f)
Cython version [e.g. 3.0.0a11] master (94bea66)
Additional context
No response
The text was updated successfully, but these errors were encountered: