[Zope-dev] Zope Tests: 6 OK, 2 Failed
Stefan H. Holek
stefan at epy.co.at
Tue Nov 3 04:23:24 EST 2009
FWIW, Martijn is correct. Python 2.4 does not like values > 2**31-1
for list indexes, slices, e.a. even on 64 bit systems. I have disabled
the respective test runs.
Stefan
On 01.11.2009, at 14:43, Martijn Pieters wrote:
> 2009/10/31 Tres Seaver <tseaver at palladion.com>:
>> I can't reproduce this failure when running the Acquisition 2.12.4
>> tests
>> with Python 2.4 on my machine.
>
> This is python 2.4 on 64-bit linux. I bet it's because of:
>
> typedef int Py_ssize_t;
>
> and sys.maxint overflows to -1 with that definition. I suspect that
> all open-ended slicing ops in Python C extensions are borken in python
> 2.4, because it doesn't have Py_ssize_t.
--
Stefan H. Holek
stefan at epy.co.at
More information about the Zope-Dev
mailing list