]> granicus.if.org Git - python/commit
As per Armin Rigo's suggestion, remove special handing from intobject.c to deal with...
authorKristján Valur Jónsson <kristjan@ccpgames.com>
Mon, 7 May 2007 16:46:54 +0000 (16:46 +0000)
committerKristján Valur Jónsson <kristjan@ccpgames.com>
Mon, 7 May 2007 16:46:54 +0000 (16:46 +0000)
commitabe1d48d2068ef0fea36a9b370a8b159ab267430
tree18126c32358db7927b5fc5c59d9bb6ba110d17c5
parent58e123d75ef5858fcae7c52cd0b2dc412f4dd316
As per Armin Rigo's suggestion, remove special handing from intobject.c to deal with the peculiarities of classobject's implementation of the number protocol.  The nb_long method of classobject now falls back to nb_int if there is no __long__ attribute present.
Objects/classobject.c
Objects/intobject.c