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
..
2010-04-25 22:33:36 +00:00
2008-06-11 07:41:16 +00:00
2010-01-11 22:36:12 +00:00
2010-05-04 16:18:25 +00:00
2010-04-01 16:42:11 +00:00
2009-10-22 15:42:32 +00:00
2010-03-25 00:54:54 +00:00
2010-01-23 21:25:53 +00:00
2005-12-19 06:05:18 +00:00
2002-06-11 06:22:31 +00:00
2002-01-23 15:51:12 +00:00
2006-05-19 07:05:01 +00:00
2004-07-15 22:28:48 +00:00
2006-01-04 01:30:17 +00:00
2009-01-27 23:12:23 +00:00
2009-12-28 08:34:58 +00:00
2009-10-15 17:45:39 +00:00
2009-04-30 00:58:58 +00:00
2002-08-15 14:59:02 +00:00
2002-06-30 15:26:10 +00:00
2008-10-30 23:59:18 +00:00
2010-04-06 15:38:25 +00:00
2010-01-01 04:00:55 +00:00
2006-04-25 15:29:46 +00:00
2008-04-13 20:50:29 +00:00
2010-01-11 22:36:12 +00:00
2010-03-25 23:27:16 +00:00
2003-09-04 18:45:59 +00:00
2002-12-30 22:08:05 +00:00
2008-06-09 04:58:54 +00:00
2010-04-21 22:53:29 +00:00
2008-06-09 04:58:54 +00:00
2008-05-26 22:07:28 +00:00
2008-03-28 04:58:51 +00:00
2009-06-29 14:44:49 +00:00
2006-07-22 16:20:49 +00:00
2009-04-27 19:04:37 +00:00
2009-12-21 15:22:00 +00:00
2010-03-03 23:20:25 +00:00
2008-03-23 06:19:57 +00:00
2010-01-22 16:18:09 +00:00
2010-01-11 22:46:43 +00:00
2010-03-10 22:30:19 +00:00
2008-02-07 08:04:07 +00:00
2010-04-04 23:03:22 +00:00
2010-01-11 22:36:12 +00:00
2010-03-03 11:49:53 +00:00
2010-02-23 23:19:39 +00:00
2010-02-23 23:19:39 +00:00
2010-02-23 23:19:39 +00:00
2010-02-23 23:19:39 +00:00
2010-02-23 23:19:39 +00:00
2010-02-23 23:19:39 +00:00
2010-02-23 23:19:39 +00:00
2010-02-23 23:19:39 +00:00
2010-02-23 23:19:39 +00:00
2010-02-23 23:19:39 +00:00
2010-02-23 23:19:39 +00:00
2010-02-23 23:19:39 +00:00
2009-01-12 08:11:24 +00:00
2009-09-09 11:42:57 +00:00