Files
cpython/Objects
Guido van Rossum d4774fb6ef Untested code for 64-bit platforms. range_length() is declared as int
but returns r->len which is a long.  This doesn't even cause a warning
on 32-bit platforms, but can return bogus values on 64-bit platforms
(and should cause a compiler warning).  Fix this by inserting a range
check when LONG_MAX != INT_MAX, and adding an explicit cast to (int)
when the test passes.  When r->len is out of range, PySequence_Size()
and hence len() will report an error (but an iterator will still
work).
2002-09-11 15:55:48 +00:00
..
2000-05-02 18:34:30 +00:00
2002-08-06 22:12:52 +00:00
2001-08-29 23:54:21 +00:00
2002-08-14 21:01:41 +00:00
2002-07-18 18:49:52 +00:00
2002-07-17 16:30:39 +00:00