Difference between revisions of "User:Mstone/Tricks"
m (New page: == Verbose Python Tracebacks == [http://teach.laptop.org/~mstone/nice_traces.py nice_traces.py] from nice_traces import trace # sys.excepthook now is set to trace by the import #...) |
(No difference)
|
Revision as of 20:34, 23 September 2008
Contents
Verbose Python Tracebacks
nice_traces.py from nice_traces import trace # sys.excepthook now is set to trace by the import # also, trace(sys.exc_info()) can be used for more controlled handling
Handy report() function
See trac_helper.py
Relational error logging
See trac_helper.py and collect-pkgs.py.
Email-based error reporting
See email_warnings.py.
RPM Makefiles
See rpm-packaging as well as individual projects like [1] along with the Fedora Packaging Bibliography.
pymeta parser-based controllers
See triagebot for cute tricks.
Python GDB Macros
http://wiki.python.org/moin/DebuggingWithGdb