commit | 89f1d6c04ee3f80535f89434bebafa73720e39f2 | [log] [tgz] |
---|---|---|
author | Jeremy Hylton <jeremy@alum.mit.edu> | Wed Dec 11 21:28:32 2002 +0000 |
committer | Jeremy Hylton <jeremy@alum.mit.edu> | Wed Dec 11 21:28:32 2002 +0000 |
tree | 3d1e9fe58fd9dc8fa2e7cfdaf0ebe2e9e7a73262 | |
parent | 135594648fce77f748f01146f1f04b05172b0c57 [diff] |
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.