Debugging Python ?

Trent Mick trentm at ActiveState.com
Tue Jul 29 14:47:34 EDT 2003


...
> Which mine do, quite frequently. By the time you get this far,
> you've pretty much got a logging system.
...

Python's new logging system (standard in the coming Python 2.3 and
available for Python versions back to 1.5.2 here
http://www.red-dove.com/python_logging.html) is good for not
re-inventing the wheel here. Granted there is a learning curve greater
than:
    if __debug__: print "yada yada yada"
but it is time well spent.

Cheers,
Trent

-- 
Trent Mick
TrentM at ActiveState.com





More information about the Python-list mailing list