Author: Armin Rigo <ar...@tunes.org> Branch: Changeset: r76844:9f9e646594bd Date: 2015-04-20 11:01 +0200 http://bitbucket.org/pypy/pypy/changeset/9f9e646594bd/
Log: Fix for Py3 support diff --git a/pypy/tool/gdb_pypy.py b/pypy/tool/gdb_pypy.py --- a/pypy/tool/gdb_pypy.py +++ b/pypy/tool/gdb_pypy.py @@ -134,7 +134,7 @@ try: self.gdb.execute('dump binary memory %s %s %s+%d' % (fname, vstart, vstart, length)) - with open(fname, 'rt') as fobj: + with open(fname, 'rb') as fobj: data = fobj.read() return TypeIdsMap(zlib.decompress(data).splitlines(True), self.gdb) finally: _______________________________________________ pypy-commit mailing list pypy-commit@python.org https://mail.python.org/mailman/listinfo/pypy-commit