error return without exception set
__peter__ at web.de
Tue Jul 3 20:01:22 CEST 2007
Will McGugan wrote:
> Can anyone suggest a likely cause for the following exception...
> Exception exceptions.SystemError: 'error return without exception set'
> in <generator object at 0x0345CF30> ignored
The "Exception ... ignored" part is probably caused by an exception in a
finally block during garbage collection:
>>> def f():
... yield 42
>>> g = f()
>>> del g
Exception exceptions.ZeroDivisionError: 'integer division or modulo by zero'
in <generator object at 0x401d2fec> ignored
The "error return without exception set" part looks like a failed
consistency check in ceval.c -- perhaps caused by a broken extension
written in C.
But you'd have to give some more context.
More information about the Python-list