-
Notifications
You must be signed in to change notification settings - Fork 113
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
Support for Python 3.12 #60
base: master
Are you sure you want to change the base?
Conversation
Almost working, it seems to be mixing up the
|
Thanks for writing this up Tony! Our project is definitely sensitive to these kinds of changes and they can be somewhat tricky to debug. Please let us know if we can help in any way :) |
Python 3.13 is coming. Any updates here? |
I think we need to match so its not sufficient to delete PRECALL, we need to update a bunch of opcodes' sizes. And its changing even further in cpython 3.13 I'm not familiar with cpython, so
Or, you could stop supporting backwards compatibility and update Hope this helps someone get started on the enhancement! 🫡 |
This adds support for Python 3.12 (so far, the release is months away).
PRECALL
andLOAD_METHOD
have been removed. So the if-macro that says version >= 3.11 would be invalid for all future releases.JUMP_IF_TRUE_OR_POP
andJUMP_IF_FALSE_OR_POP
have been removed.