-
-
Notifications
You must be signed in to change notification settings - Fork 32k
gh-133079: Remove Py_C_RECURSION_LIMIT & PyThreadState.c_recursion_remaining #133080
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
Conversation
…ion_remaining Both were added in 3.13, are undocumented, and don't make sense in 3.14 due to changes in the stack overflow detection machinery (pythongh-112282).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
|
This seems to have broken uWSGI build on our benchmarking run:
See https://github.com/faster-cpython/benchmarking/actions/runs/14754424278/job/41419104378. CC @hugovk |
This link is 404/hidden for non https://github.com/faster-cpython/benchmarking members. |
Sorry, here is more output:
|
I'm not sure what they're trying to do here, maybe there's an API we can give them? https://github.com/unbit/uwsgi/blob/ae7ecb01e898631f2d32ab957f839f4a465447d5/plugins/python/python_plugin.c#L1169 |
The PyThreadState.c_recursion_remaining member has been removed in Python 3.14 beta 1: python/cpython#133080
The PyThreadState.c_recursion_remaining member has been removed in Python 3.14 beta 1: python/cpython#133080
I created a PR for uWSGI: unbit/uwsgi#2724. |
Both were added in 3.13, are undocumented, and don't make sense in 3.14 due to changes in the stack overflow detection machinery (gh-112282).
PEP 387 exception for skipping a deprecation period: python/steering-council#288
📚 Documentation preview 📚: https://cpython-previews--133080.org.readthedocs.build/