Bugs item #1669182, was opened at 2007-02-26 12:00
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1669182&group_id=5470
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Python Interpreter Core
Group: Python 2.5
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Gabriel Becedillas (gbeced)
Assigned to: Nobody/Anonymous (nobody)
Summary: PyErr_WriteUnraisable lacks exception type check
Initial Comment:
I'd hit an access violation inside PyErr_WriteUnraisable when a non-exception
instance was raised. The call to PyExceptionClass_Name with a non-exception
instance is yielding an invalid pointer.
I'd hit the bug embedding Python 2.5 and raising a string instance via
PyThreadState_SetAsyncExc but I could also reproduce the crash with this sample
code:
class Foo:
def __del__(self):
raise "pum"
a = Foo()
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1669182&group_id=5470
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com