[issue15262] Idle does not show traceback in other threads

Roger Serwy report at bugs.python.org
Mon Jul 9 03:04:37 CEST 2012


Roger Serwy <roger.serwy at gmail.com> added the comment:

Mark, I ran your example against 2.7.1 and did not receive a traceback. I then ran it against the latest 2.7.3+ and receive a traceback in IDLE. Here's the entire Shell contents:


Python 2.7.3+ (2.7:97445ca895d5, Jul  8 2012, 19:58:43) 
[GCC 4.5.2] on linux2
Type "copyright", "credits" or "license()" for more information.
>>> from thread import start_new
>>> def f(): typo

>>> start_new(f, ())
139804918241024Unhandled exception in thread started by 
<function f at 0x1e36050>
>>> 
Traceback (most recent call last):
  File "<pyshell#2>", line 1, in f
NameError: global name 'typo' is not defined

>>>

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue15262>
_______________________________________


More information about the Python-bugs-list mailing list