-
Notifications
You must be signed in to change notification settings - Fork 5.6k
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
[SOT][3.12] Support POP_JUMP_IF_NONE
and POP_JUMP_IF_NOT_NONE
opcode in Python 3.12
#62120
[SOT][3.12] Support POP_JUMP_IF_NONE
and POP_JUMP_IF_NOT_NONE
opcode in Python 3.12
#62120
Conversation
你的PR提交成功,感谢你对开源项目的贡献! |
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.
需要解决一下冲突~ |
test/sot/skip_files_py312
Outdated
@@ -1,9 +1,8 @@ | |||
./test_11_jumps.py | |||
./test_12_for_loop.py | |||
./test_21_global.py | |||
./test_break_graph.py | |||
./test_analysis_inputs.py |
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.
这是又给加回来了???
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.
看样子冲突解决错了 😂
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.
Done
@@ -1,9 +1,6 @@ | |||
./test_11_jumps.py |
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.
LOAD_FAST_CHECK
还没支持先不开吧
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.
你的 PR 里是不是支持了 LOAD_FAST_CHECK
并解决了 POP_JUMP_FORWARD_IF_FALSE
生成问题?可以将这些拆到一个独立的 PR
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.
这个还没有,改回来了,昨晚没看清楚改错了
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.
啊,我说 @gouzil 的 PR
PR types
Others
PR changes
Others
Description
python 3.12 支持
POP_JUMP_IF_NONE
andPOP_JUMP_IF_NOT_NONE
test_11_jumps.py单测里面还涉及到“opcode:
LOAD_FAST_CHECK
is not supported.“等其他报错,暂不处理