Re: [Python-Dev] Python 2.5 bug? Changes in behavior of traceback module

2006-09-25 Thread Michael Glassford
Thanks! Mike 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 (

[Python-Dev] Python 2.5 bug? Changes in behavior of traceback module

2006-09-23 Thread Michael Glassford
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? Mike