Bugs item #1669182, was opened at 2007-02-26 07:00
Message generated for change (Comment added) made by nnorwitz
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: Closed
>Resolution: Fixed
Priority: 5
Private: No
Submitted By: Gabriel Becedillas (gbeced)
>Assigned to: Neal Norwitz (nnorwitz)
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()
----------------------------------------------------------------------
>Comment By: Neal Norwitz (nnorwitz)
Date: 2007-02-26 15:50
Message:
Logged In: YES
user_id=33168
Originator: NO
Thanks for the report. The print is kinda crappy, but it shouldn't
crash.
Committed revision 53974. (2.5)
Committed revision 53975. (2.6)
----------------------------------------------------------------------
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