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

Python 3.13 initial support #497

Merged
merged 8 commits into from
Aug 7, 2024
Merged

Python 3.13 initial support #497

merged 8 commits into from
Aug 7, 2024

Conversation

greenozon
Copy link
Contributor

This is an early Python 3.13 initial support
I've been playing around starting from alpha builds, there were lots of changes each alpha version,
but starting from beta versions the python-guys announced a promise:

3.13.0 beta 1: Wednesday, 2024-05-08 (No new features beyond this point.)

it's from here: https://peps.python.org/pep-0719/

each beta versions (beta 1/2/3) did not change any opcodes (no new added, no old removed, etc) which is good

thus, I've collected new opcodes and added support for early 3.13
to be honest, the range of new opcodes is very impressive :)

pycdas: able to print opcodes disassembly as usually
pycdc: need to gradually add support for new opcodes (and align changed logic for existing ones,.

PS maybe there will be a need to update MAGIC_3_13 value (but it did not change between b2 -> b3)

@greenozon greenozon mentioned this pull request Jul 9, 2024
92 tasks
bytes/python_3_13.cpp Outdated Show resolved Hide resolved
bytecode_ops.inl Outdated Show resolved Hide resolved
bytecode_ops.inl Outdated Show resolved Hide resolved
bytecode_ops.inl Outdated Show resolved Hide resolved
.gitignore Outdated Show resolved Hide resolved
greenozon and others added 4 commits August 2, 2024 20:55
@greenozon
Copy link
Contributor Author

@zrax thanks for review!

@zrax zrax merged commit 75de28d into zrax:master Aug 7, 2024
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants