[Python-Dev] 2.1.1 maintenance branch

Skip Montanaro skip@pobox.com (Skip Montanaro)
Thu, 18 Oct 2001 15:17:15 -0500


    Neil> No, abstract_isinstance has been broken for a long time, maybe
    Neil> forever.  It is supposed to work for class-like objects like
    Neil> ExtensionClass instances as well as for standard classes and
    Neil> types.  One problem was that if you gave it a normal instance as
    Neil> the first argument but an ExtensionClass as the second argument it
    Neil> raised a type error.  It's annoying to us at the MEMS Exchange
    Neil> because we use ExtensionClasses and isinstance all the time ...

Getting a little off the subject, but a good first test of the new 2.2
type/class stuff is that it only took James Henstridge a couple days to
convert the PyGtk2 stuff from ExtensionClass to pure 2.2 code.  I've
experienced no problems related to that change.

Skip