diff options
author | Brett Cannon <bcannon@gmail.com> | 2009-01-30 01:31:34 (GMT) |
---|---|---|
committer | Brett Cannon <bcannon@gmail.com> | 2009-01-30 01:31:34 (GMT) |
commit | e61426efbf3a41d2beb4e0f95f363aaaa7df0db6 (patch) | |
tree | ad670d8b239fdca5aa99b8c50baf267af018cb25 /Lib/trace.py | |
parent | f254a75176928e1d1228a5d20d49fbe2fe9f290a (diff) | |
download | cpython-e61426efbf3a41d2beb4e0f95f363aaaa7df0db6.zip cpython-e61426efbf3a41d2beb4e0f95f363aaaa7df0db6.tar.gz cpython-e61426efbf3a41d2beb4e0f95f363aaaa7df0db6.tar.bz2 |
The trace module was trying to turn ints into ints since co_lnotab was changed
to a bytes object.
Diffstat (limited to 'Lib/trace.py')
-rw-r--r-- | Lib/trace.py | 2 |
1 files changed, 1 insertions, 1 deletions
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 @@ def find_lines_from_code(code, strs): """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 |