[issue10805] traceback.print_exception throws AttributeError when exception is None

Antoine Pitrou report at bugs.python.org
Mon Jan 3 20:03:27 CET 2011


Antoine Pitrou <pitrou at free.fr> added the comment:

Well, under 2.x, print_traceback(None, None, None) would just print "None", but I'm not sure that's a supported use case.

----------
nosy: +ncoghlan

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


More information about the Python-bugs-list mailing list