3 May
2007
3 May
'07
4:32 p.m.
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)) At the moment, I am disabling these tests with if "64 bit" not in sys.version: So, two questions: Should we add something like sys.maxsize to keep these overflow tests valid? Also, some tests just kill the computer when given large values, that are expected to overflow. Sometimes it would be good to test for a 64 bit machine with virtually infinite ram. Is there a better way than the "64 bit" in sys.version test? Should we have something like sys.bits? Kristján
6193
Age (days ago)
6195
Last active (days ago)
5 comments
5 participants
participants (5)
-
"Martin v. Löwis"
-
Armin Rigo
-
Kristján Valur Jónsson
-
Thomas Heller
-
Žiga Seilnacht