homepage

This issue tracker has been migrated to GitHub , and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author arigo
Recipients
Date 2005年10月21日.12:33:30
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
Logged In: YES 
user_id=4771
I would suspect the following one to be due to incorrect
handling of EXTENDED_ARG -- it's from a PyPy test about that:
longexpr = 'x = x or ' + '-x' * 2500
code = '''
def f(x):
 %s
 %s
 %s
 %s
 %s
 %s
 %s
 %s
 %s
 %s
 while x:
 x -= 1
 # EXTENDED_ARG/JUMP_ABSOLUTE here
 return x
''' % ((longexpr,)*10)
exec code
f(5)
SystemError: unknown opcode
dis.dis() shows that the target of both the SETUP_LOOP and
the JUMP_IF_FALSE at the start of the loop are wrong.
History
Date User Action Args
2007年08月23日 14:35:37adminlinkissue1333982 messages
2007年08月23日 14:35:37admincreate

AltStyle によって変換されたページ (->オリジナル) /