]> granicus.if.org Git - python/commitdiff
Blocked revisions 80758-80759 via svnmerge
authorMark Dickinson <dickinsm@gmail.com>
Tue, 4 May 2010 16:50:06 +0000 (16:50 +0000)
committerMark Dickinson <dickinsm@gmail.com>
Tue, 4 May 2010 16:50:06 +0000 (16:50 +0000)
........
  r80758 | mark.dickinson | 2010-05-04 17:18:25 +0100 (Tue, 04 May 2010) | 9 lines

  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).
........
  r80759 | mark.dickinson | 2010-05-04 17:19:06 +0100 (Tue, 04 May 2010) | 1 line

  Fix trailing whitespace.
........


No differences found