genious hack in python

Hello Dev Teem, Guido told me to send you this idea... Improving productivity is one of my Strength. Please check a very small module i'v made for improving the debugger traceback. See the pybettererror.py on sourceforge: http://pybettererror.sourceforge.net/projet.html It's hard to find something to complain about in python. This one was a too good idea to keep for myself. Thanks Martin Goudreau from Montreal

Hi! On Fri, Sep 23, 2011 at 11:12:53AM -0400, Martin Goudreau wrote:
Why do this in sys.stderr and not by monkey-patching traceback.py, probably format_list and format_exception_only? Oleg. -- Oleg Broytman http://phdru.name/ phd@phdru.name Programmers don't die, they just GOSUB without RETURN.

Write Oleg, If there is a better way to implemant this? sure. But the idea is still good.

Hi! On Fri, Sep 23, 2011 at 11:12:53AM -0400, Martin Goudreau wrote:
Why do this in sys.stderr and not by monkey-patching traceback.py, probably format_list and format_exception_only? Oleg. -- Oleg Broytman http://phdru.name/ phd@phdru.name Programmers don't die, they just GOSUB without RETURN.

Write Oleg, If there is a better way to implemant this? sure. But the idea is still good.
participants (2)
-
Martin Goudreau
-
Oleg Broytman