]> granicus.if.org Git - python/commit
Fix one bug and reformat lots of code.
authorJeremy Hylton <jeremy@alum.mit.edu>
Wed, 11 Dec 2002 21:28:32 +0000 (21:28 +0000)
committerJeremy Hylton <jeremy@alum.mit.edu>
Wed, 11 Dec 2002 21:28:32 +0000 (21:28 +0000)
commit89f1d6c04ee3f80535f89434bebafa73720e39f2
tree3d1e9fe58fd9dc8fa2e7cfdaf0ebe2e9e7a73262
parent135594648fce77f748f01146f1f04b05172b0c57
Fix one bug and reformat lots of code.

The bug is a reference to co_first_lineno that should be
co_firstlineno.  The only other substantial change is to speed up
localtrace_count() by avoiding *costly* calls to inspect module.
It's trivial to get the filename and lineno directly from the frame.

Otherwise, delete commented out debug code and reflow very long lines.
Tools/scripts/trace.py