Files
cpython/Python
Mark Dickinson a8d2668818 Issue #1533: fix inconsistency in range function argument processing:
any non-float non-integer argument is now converted to an integer (if
possible) using its __int__ method.  Previously, only small arguments
were treated this way; larger arguments (those whose __int__ was
outside the range of a C long) would produce a TypeError.

Patch by Alexander Belopolsky (with minor modifications).
2010-05-04 16:18:25 +00:00
..
2008-06-11 07:41:16 +00:00
2002-06-11 06:22:31 +00:00
2002-01-23 15:51:12 +00:00
2002-08-15 14:59:02 +00:00
2008-10-30 23:59:18 +00:00
2010-01-01 04:00:55 +00:00
2008-04-13 20:50:29 +00:00
2010-03-25 23:27:16 +00:00
2002-12-30 22:08:05 +00:00
2010-01-22 16:18:09 +00:00
2010-04-04 23:03:22 +00:00
2009-01-12 08:11:24 +00:00
2009-09-09 11:42:57 +00:00