]> granicus.if.org Git - python/commit
the nb_long slot on classobject instances now defaults to call the nb_int slot member...
authorKristján Valur Jónsson <kristjan@ccpgames.com>
Mon, 7 May 2007 18:36:39 +0000 (18:36 +0000)
committerKristján Valur Jónsson <kristjan@ccpgames.com>
Mon, 7 May 2007 18:36:39 +0000 (18:36 +0000)
commitdffe9a214b243c251dc11f51bf2b7275cbdaff70
tree4730e6a24fe26939d6866caebb6d998c29c6aa65
parentf4601d874fc41cc7aa904ff09b9da273cefd7b72
the nb_long slot on classobject instances now defaults to call the nb_int slot member if there is no __long__ attribute found.  This is in accordance with a suggestion from Armin Rigo, and allows the test_getargs2.py test in the testsuite for x64
Objects/classobject.c