[Python-Dev] Python 2.5 bug? Changes in behavior of traceback module
glassfordm at hotmail.com
Mon Sep 25 14:23:51 CEST 2006
Georg Brandl wrote:
> Michael Glassford wrote:
>> In Python 2.4, traceback.print_exc() and traceback.format_exc() silently
>> do nothing if there is no active exception; in Python 2.5, they raise an
>> exception. Not too difficult to handle, but unexpected (and a pain if
>> you use it in a lot of places). I assume it was an unintentional change?
> This was certainly an unintentional change while restructuring some
> internal traceback routines.
> It's now fixed in SVN.
> Python-Dev mailing list
> Python-Dev at python.org
> Unsubscribe: http://mail.python.org/mailman/options/python-dev/python-python-dev%40m.gmane.org
More information about the Python-Dev