[pypy-svn] r72475 - pypy/branch/rawffi-64/pypy/module/_rawffi
arigo at codespeak.net
arigo at codespeak.net
Sat Mar 20 21:00:29 CET 2010
Author: arigo
Date: Sat Mar 20 21:00:28 2010
New Revision: 72475
Modified:
pypy/branch/rawffi-64/pypy/module/_rawffi/array.py
Log:
This assert can fail. Unsure if it's saner to have a W_Array
with size=0 or to say that arrays 'T[0]' have size 1...
Modified: pypy/branch/rawffi-64/pypy/module/_rawffi/array.py
==============================================================================
--- pypy/branch/rawffi-64/pypy/module/_rawffi/array.py (original)
+++ pypy/branch/rawffi-64/pypy/module/_rawffi/array.py Sat Mar 20 21:00:28 2010
@@ -35,7 +35,6 @@
# the type of pointers to arrays of T. So the following fields
# are used to describe T only. It is 'basicffitype' possibly
# repeated until reaching the length 'size'.
- assert size > 0
self.basicffitype = basicffitype
self.size = size
self.alignment = size_alignment(basicffitype)[1]
More information about the Pypy-commit
mailing list