[pypy-commit] pypy py3k: kill this assert now that 3.3 supports Q (longlong) conversions, for 32bit
pjenvey
pypy.commits at gmail.com
Thu Apr 14 20:24:59 EDT 2016
Author: Philip Jenvey <pjenvey at underboss.org>
Branch: py3k
Changeset: r83675:17e4f1a18996
Date: 2016-04-14 17:23 -0700
http://bitbucket.org/pypy/pypy/changeset/17e4f1a18996/
Log: kill this assert now that 3.3 supports Q (longlong) conversions, for
32bit platforms
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
@@ -594,7 +594,6 @@
self.method = method
if self.canoverflow:
- assert self.bytes <= rffi.sizeof(rffi.ULONG)
if self.bytes == rffi.sizeof(rffi.ULONG) and not signed and \
self.unwrap == 'int_w':
# Treat this type as a ULONG
diff --git a/pypy/module/array/test/test_array.py b/pypy/module/array/test/test_array.py
--- a/pypy/module/array/test/test_array.py
+++ b/pypy/module/array/test/test_array.py
@@ -77,7 +77,7 @@
except OverflowError:
pass
- for tc in 'BHIL':
+ for tc in 'BHILQ':
a = self.array(tc)
itembits = a.itemsize * 8
vals = [0, 2 ** itembits - 1]
More information about the pypy-commit
mailing list