[Python-bugs-list] [ python-Bugs-471270 ] SystemError: unknown opcode

noreply@sourceforge.net noreply@sourceforge.net
Thu, 18 Oct 2001 17:43:25 -0700


Bugs item #471270, was opened at 2001-10-15 03:56
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=471270&group_id=5470

Category: Python Interpreter Core
Group: Python 2.1.1
>Status: Closed
>Resolution: Fixed
Priority: 5
Submitted By: Niki Spahiev (nikis)
>Assigned to: Guido van Rossum (gvanrossum)
Summary: SystemError: unknown opcode

Initial Comment:
Python 2.1.1 (#20, Jul 20 2001, 01:19:29) [MSC 32 bit
(Intel)] on win32

...

XXX lineno: 63, opcode: 0
Traceback (most recent call last):
  File "\niki\pyfr\wxmain.py", line 259, in OnMenuCommand
    self.OnTreeCommand( item, event.GetId() )
  File "\niki\pyfr\wxmain.py", line 250, in OnTreeCommand
    self.dd.Action( self, 'tree',
self.tree.GetPyData(item), event )
  File "D:\NIKI\RASKROY\SRC\MAIN2.PY", line 698, in Action
    cmd.Execute( view, self )
  File "D:\NIKI\RASKROY\SRC\task.py", line 139, in Execute
    model.DelBlock( b )
  File "D:\NIKI\RASKROY\SRC\raskroy.py", line 64, in
DelBlock
    b.AdviseDel()
  File "D:\NIKI\RASKROY\SRC\meta.py", line 63, in AdviseDel
    break
SystemError: unknown opcode


----------------------------------------------------------------------

>Comment By: Guido van Rossum (gvanrossum)
Date: 2001-10-18 17:43

Message:
Logged In: YES 
user_id=6380

Closed; the sample code does hyave a continue in a try block
so that's the cause.

----------------------------------------------------------------------

Comment By: Guido van Rossum (gvanrossum)
Date: 2001-10-15 06:54

Message:
Logged In: YES 
user_id=6380

I'm guessing this is because of a bug in the
continue-within-try code generation. This is fixed in 2.2. 
Can you verify that this doesn't break with Python 2.2a4?
(python.org/2.2/). I don't have the proper input to provoke
the bug in 2.1.1.

----------------------------------------------------------------------

You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=471270&group_id=5470