[pypy-commit] pypy default: Fix d929dd0ac8bc
arigo
pypy.commits at gmail.com
Sat Nov 18 04:57:13 EST 2017
Author: Armin Rigo <arigo at tunes.org>
Branch:
Changeset: r93076:4791c8513684
Date: 2017-11-18 10:56 +0100
http://bitbucket.org/pypy/pypy/changeset/4791c8513684/
Log: Fix d929dd0ac8bc
diff --git a/pypy/module/cpyext/longobject.py b/pypy/module/cpyext/longobject.py
--- a/pypy/module/cpyext/longobject.py
+++ b/pypy/module/cpyext/longobject.py
@@ -224,7 +224,7 @@
assert isinstance(w_long, W_LongObject)
return w_long.num.sign
-CONST_UCHARP = lltype.Ptr(lltype.Array(lltype.UChar, hints={'nolength': True,
+CONST_UCHARP = lltype.Ptr(lltype.Array(rffi.UCHAR, hints={'nolength': True,
'render_as_const': True}))
@cpython_api([CONST_UCHARP, rffi.SIZE_T, rffi.INT_real, rffi.INT_real], PyObject)
def _PyLong_FromByteArray(space, bytes, n, little_endian, signed):
More information about the pypy-commit
mailing list