This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author terry.reedy
Recipients Mark, terry.reedy
Date 2012-07-07.03:01:15
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1341630076.83.0.0689970064879.issue15262@psf.upfronthosting.co.za>
In-reply-to
Content
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.)
History
Date User Action Args
2012-07-07 03:01:17terry.reedysetrecipients: + terry.reedy, Mark
2012-07-07 03:01:16terry.reedysetmessageid: <1341630076.83.0.0689970064879.issue15262@psf.upfronthosting.co.za>
2012-07-07 03:01:16terry.reedylinkissue15262 messages
2012-07-07 03:01:16terry.reedycreate