Author: Carl Friedrich Bolz-Tereick <[email protected]>
Branch: py3.6-wordcode
Changeset: r94620:f43a1c80ee44
Date: 2018-05-18 21:26 +0200
http://bitbucket.org/pypy/pypy/changeset/f43a1c80ee44/
Log: py2 fix
diff --git a/pypy/tool/dis3.py b/pypy/tool/dis3.py
--- a/pypy/tool/dis3.py
+++ b/pypy/tool/dis3.py
@@ -394,6 +394,8 @@
lineno = code.co_firstlineno
addr = 0
for byte_incr, line_incr in zip(byte_increments, line_increments):
+ byte_incr = ord(byte_incr)
+ line_incr = ord(line_incr)
if byte_incr:
if lineno != lastlineno:
yield (addr, lineno)
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit