]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Merged revisions 68553 via svnmerge from
authorMark Dickinson <dickinsm@gmail.com>
Mon, 12 Jan 2009 21:53:16 +0000 (21:53 +0000)
committerMark Dickinson <dickinsm@gmail.com>
Mon, 12 Jan 2009 21:53:16 +0000 (21:53 +0000)
commitb6238c37f70ce3b6a43f3dc79d8c55a785fd6648
tree04b40315ee727693f3c8fa0179131d34cad05251
parent63fe3b41126fd01a115de55bd1c1b096de09b0a7
Merged revisions 68553 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r68553 | mark.dickinson | 2009-01-12 20:49:19 +0000 (Mon, 12 Jan 2009) | 8 lines

  Issue #4910 (1st patch of a series):  fix int() and the corresponding
  PyNumber_Int/PyNumber_Long API function so that it no longer attempts
  to call the __long__ method for conversion.  Only the __int__ and __trunc__
  methods are used.  (This removes a major remaining use of the nb_long
  slot from the Python 3.x core.)

  Thanks Benjamin for review.
........
Lib/test/test_long.py
Misc/NEWS
Objects/abstract.c