[IronPython] Exceptions from the console in a background thread...
Martin.Maly at microsoft.com
Sun Jul 16 20:29:44 PDT 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():
>>> Test() # useful stack trace
>>> import thread
>>> thread.start_new_thread(Test, tuple()) # not useful at all
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the users