You've already forked python-uncompyle6
mirror of
https://github.com/rocky/python-uncompyle6.git
synced 2025-08-03 08:49:51 +08:00
More bugs found via sre_parse.py decompilation
This commit is contained in:
@@ -45,6 +45,8 @@ class Python23Parser(Python24Parser):
|
||||
# a "break" inside "l_stmts".
|
||||
while1stmt ::= _while1test l_stmts COME_FROM JUMP_BACK
|
||||
POP_TOP POP_BLOCK COME_FROM
|
||||
while1stmt ::= _while1test l_stmts JUMP_BACK
|
||||
POP_TOP POP_BLOCK
|
||||
|
||||
list_comp ::= BUILD_LIST_0 DUP_TOP LOAD_ATTR store list_iter del_stmt
|
||||
list_for ::= expr for_iter store list_iter JUMP_BACK come_froms POP_TOP JUMP_BACK
|
||||
|
@@ -43,6 +43,8 @@ class Python24Parser(Python25Parser):
|
||||
while1stmt ::= SETUP_LOOP l_stmts_opt JUMP_BACK
|
||||
POP_TOP POP_BLOCK
|
||||
|
||||
continue ::= JUMP_BACK JUMP_ABSOLUTE
|
||||
|
||||
# Python 2.4
|
||||
# The following has no "JUMP_BACK" after l_stmts because
|
||||
# l_stmts ends in a "break", "return", or "continue"
|
||||
|
Reference in New Issue
Block a user