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 <tsea...@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
ste...@epy.co.at




_______________________________________________
Zope-Dev maillist  -  Zope-Dev@zope.org
https://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 https://mail.zope.org/mailman/listinfo/zope-announce
 https://mail.zope.org/mailman/listinfo/zope )

Reply via email to