[pypy-commit] pypy py3k: fix for py3k's new convert scheme

pjenvey pypy.commits at gmail.com
Fri Apr 15 17:07:48 EDT 2016


Author: Philip Jenvey <pjenvey at underboss.org>
Branch: py3k
Changeset: r83694:fc05d7cc3776
Date: 2016-04-15 14:06 -0700
http://bitbucket.org/pypy/pypy/changeset/fc05d7cc3776/

Log:	fix for py3k's new convert scheme

diff --git a/pypy/module/array/interp_array.py b/pypy/module/array/interp_array.py
--- a/pypy/module/array/interp_array.py
+++ b/pypy/module/array/interp_array.py
@@ -605,7 +605,7 @@
     # 32 bits: UINT can't safely overflow into a C long (rpython int)
     # via int_w, handle it like ULONG below
     _UINTTypeCode = \
-         TypeCode(rffi.UINT,          'bigint_w')
+         TypeCode(rffi.UINT,          'bigint_w.touint')
 else:
     _UINTTypeCode = \
          TypeCode(rffi.UINT,          'int_w', True)


More information about the pypy-commit mailing list