Author kaizhu
Recipients BreamoreBoy, kaizhu, mark.dickinson
Date 2010-12-22.07:58:30
SpamBayes Score 7.0229e-08
Marked as misclassified No
Message-id <>
public@colinux 3 ~: python3.2
Python 3.2b2 (py3k, Dec 22 2010, 02:38:55) 
[GCC 4.4.5] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import atexit; atexit.register(lambda:1/0)
<function <lambda> at 0xb7c7e12c>
>>> exit()
Error in atexit._run_exitfuncs:
TypeError: print_exception(): Exception expected for value, str found

might b related to Issue5089, so included those ppl to nosy.  this bug is subtle.  unit tests which explicitly 'raise' exceptions will not b caught, e.g. this will raise properly:

def foo(): raise ZeroDivisionError()
Date User Action Args
2010-12-22 07:58:36kaizhusetrecipients: + kaizhu, mark.dickinson, BreamoreBoy
2010-12-22 07:58:36kaizhusetmessageid: <>
2010-12-22 07:58:30kaizhulinkissue10756 messages
2010-12-22 07:58:30kaizhucreate