Re: class semantics

Mark Lutz (mlutz@KaPRE.COM)
Thu, 2 Feb 1995 14:23:58 +0700

On closer inspection, this may not be all that hard-- for the
intobject case, getintvalue() already does the right thing
[uses an instance's __int__ if present, uses a data-type's int()
function pointer]. Maybe all you'd need to do is get rid if
the is_intobject() tests, and try getintvalue() directly;
if it fails, the operation does (?).

Mark L.