Terry J. Reedy <tjre...@udel.edu> added the comment:

In 3.3, you do not need it
>>> Unhandled exception in thread started by <function f at 0x00000000031D0158>
Traceback (most recent call last):
  File "F:\Python\mypy\tem.py", line 2, in f
    def f(): typo #there is no variable called typo
NameError: global name 'typo' is not defined

In 3.2 only the first line is printed; the traceback is not.

The change is due to recent internal improvements in core Python 3 exception 
handling.

(In 3.x, thread was renamed _thread to discourage its direct use and to 
encourage use of threading instead. I tested with _thread.)

----------
nosy: +terry.reedy
resolution:  -> fixed
stage:  -> committed/rejected
status: open -> closed

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue15262>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to