[Python-Dev] Python 2.5 bug? Changes in behavior of traceback module (original) (raw)

Michael Glassford glassfordm at hotmail.com
Mon Sep 25 14:23:51 CEST 2006


Thanks!

Mike

Georg Brandl wrote:

Michael Glassford wrote:

In Python 2.4, traceback.printexc() and traceback.formatexc() 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. Georg


Python-Dev mailing list Python-Dev at python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/python-python-dev%40m.gmane.org



More information about the Python-Dev mailing list