> Further experimentation showed that derivation from object was the > culprit; new-style objects are not considered "instances" in the above > sense. I wasn't able to figure out a workaround. Is there one, or is > the distinction between traditional classes and built-in types only > going to get more and more hazy?
In the long run (ie. Python 3), the distinction is going to be very hazy, very dark: it will entirely disappear. There will be only one concept of type/class, not two, so there will be no point distinguishing between types and classes. Regards, Martin -- http://mail.python.org/mailman/listinfo/python-list