-
-
Notifications
You must be signed in to change notification settings - Fork 93
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 Support Draft #153
Conversation
@rocky Is there a best way to find out what the |
Hi @2elli : For |
idk why i put this here
That makes sense thank you. I just pushed those changes. This does still raise an error with |
I'll look into this when I get a chance. There is probably some (or a lot) of cleanup needed around push and pop fields. |
Ok sounds good thanks. Let me know if I can help out with anything there. |
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.
This "draft" has been going on for quite a while. So let's merge. There can be other changes down the line.
@rocky sounds good! I'll continue some work on this; currently there are some breaking changes I made in this. 3.12 line numbers are not correct at the moment unless ran from 3.12. I've been trying to debug in my free time. I'll update you. |
Added basic 3.13 support.
Currently passing all unit tests with
make check
.This PR also includes some small fixes to 3.12.
Still work in progress. While my fork passes testing, it still breaks in some major circumstances. For example, I cannot self disassemble
xdis/opcodes/opcode_313.py
, see TODO.TODO (not exhaustive)
Formatting
SET_FUNCTION_ATTRIBUTE
andCALL_KW
need to have formatting fixed.EXTENDED_ARG
. In some cases, I am findingEXTENDED_ARG
with an oparg of None, leading to type comparison errors and incorrect behavior."drop-in" dis support
dis.disassemble
anddis.distb
have a new parametershow_offsets
.start_offset
,cache_offset
,end_offset
,baseopname
,baseopcode
,jump_target
,oparg
,line_number
andcache_info
.