[Python-Dev] x64 and the testsuite

Žiga Seilnacht ziga.seilnacht at gmail.com
Thu May 3 19:38:04 CEST 2007


Kristján Valur Jónsson wrote:
> Hello again.
> A lot of overflow tests fail in the testsuite, by expecting overflow using sys.maxint.
> for example this line, 196, in test_index.py: self.assertEqual(x[self.neg:self.pos], (-1, maxint))

Those tests should be fixed to use test.test_support.MAX_Py_ssize_t instead of sys.maxint.

Regards,
Ziga


More information about the Python-Dev mailing list