[pypy-commit] pypy py3.5: makebytesdata_w does not return a list any more (translation issue)
plan_rich
pypy.commits at gmail.com
Fri Oct 14 03:48:28 EDT 2016
Author: Richard Plangger <planrichi at gmail.com>
Branch: py3.5
Changeset: r87767:3fa2d30bb438
Date: 2016-10-14 09:47 +0200
http://bitbucket.org/pypy/pypy/changeset/3fa2d30bb438/
Log: makebytesdata_w does not return a list any more (translation issue)
diff --git a/pypy/objspace/std/intobject.py b/pypy/objspace/std/intobject.py
--- a/pypy/objspace/std/intobject.py
+++ b/pypy/objspace/std/intobject.py
@@ -79,7 +79,7 @@
complement is used to represent the integer.
"""
from pypy.objspace.std.bytesobject import makebytesdata_w
- bytes = ''.join(makebytesdata_w(space, w_obj))
+ bytes = makebytesdata_w(space, w_obj)
try:
bigint = rbigint.frombytes(bytes, byteorder=byteorder,
signed=signed)
More information about the pypy-commit
mailing list