On Feb 12, 10:49 am, redbaron <ivanov.ma...@gmail.com> wrote: > Don't really sure, but try to define your class as new-style one. > Like > class GeoMap(object): > ...
Well, the OP said he was using Python 3.0, where all classes are new- style classes. But that brings up another very slight possibility, though not a very likely one in this case: the behavior of isinstance can be customized. It can happen unbeknownst to a user who subclasses a class that does that. Carl Banks -- http://mail.python.org/mailman/listinfo/python-list