[ python-Bugs-1538556 ] PyThreadState_SetAsyncExc bug

SourceForge.net noreply at sourceforge.net
Fri Aug 11 11:24:52 CEST 2006


Bugs item #1538556, was opened at 2006-08-11 12:24
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=1538556&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
Submitted By: ganges master (gangesmaster)
Assigned to: Nobody/Anonymous (nobody)
Summary: PyThreadState_SetAsyncExc bug

Initial Comment:
while working on a library for raising exceptions in
the context
of another thread, i've come across a bug in
PyThreadState_SetAsyncExc.
if i raise an instance, sys.exc_info() confuses the
exception value for
the exception type, and the exception value is set
None. if i raise the 
type itself, the interpreter creates an instance
internally, but then i can't 
pass arguments to the exception.

see this post for more info
http://mail.python.org/pipermail/python-dev/2006-August/068158.html

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

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


More information about the Python-bugs-list mailing list