[IronPython] Exceptions from the console in a background thread...
Martin Maly
Martin.Maly at microsoft.com
Mon Jul 17 05:29:44 CEST 2006
Good catch, Lee. I've filed this as bug 1015 on CodePlex.
________________________________
From: users-bounces at lists.ironpython.com [mailto:users-bounces at lists.ironpython.com] On Behalf Of Lee Culver
Sent: Sunday, July 16, 2006 12:45 PM
To: Discussion of IronPython
Subject: [IronPython] Exceptions from the console in a background thread...
I'd like to file a low priority bug...under the "wouldn't it be nice if..." category.
When you have an exception occur while using the console, it produces a very nice output (a stack trace including only Python code).
However, if you run this in a background thread you get a monstrosity of a stack trace including C# code with no Python code. It would be very nice if this printed a nice python stack trace since the error which is returned in a thread is not useful in the slightest. Here's a quick repro:
>>> def Test():
... asdf
...
>>> Test() # useful stack trace
>>> import thread
>>> thread.start_new_thread(Test, tuple()) # not useful at all
Thanks,
-Lee
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ironpython-users/attachments/20060716/29e51fd2/attachment.html>
More information about the Ironpython-users
mailing list