commit | e61426efbf3a41d2beb4e0f95f363aaaa7df0db6 | [log] [tgz] |
---|---|---|
author | Brett Cannon <bcannon@gmail.com> | Fri Jan 30 01:31:34 2009 +0000 |
committer | Brett Cannon <bcannon@gmail.com> | Fri Jan 30 01:31:34 2009 +0000 |
tree | ad670d8b239fdca5aa99b8c50baf267af018cb25 | |
parent | f254a75176928e1d1228a5d20d49fbe2fe9f290a [diff] [blame] |
The trace module was trying to turn ints into ints since co_lnotab was changed to a bytes object.
diff --git a/Lib/trace.py b/Lib/trace.py index a5c2f11..a272683 100644 --- a/Lib/trace.py +++ b/Lib/trace.py
@@ -367,7 +367,7 @@ """Return dict where keys are lines in the line number table.""" linenos = {} - line_increments = [ord(c) for c in code.co_lnotab[1::2]] + line_increments = code.co_lnotab[1::2] table_length = len(line_increments) docstring = False