> Here's a crazy idea out of left field. Just before calling > isinstance, why not try: > > print(type(obj)) > print(str(obj)) > > This may illuminate the unexpected behavior, you'll find out just what > obj has in it. > > -- Paul
Well the output of > print(type(obj)) > print(str(obj)) was <class 'worldmap.GeoMap'> <worldmap.GeoMap object at 0x01DD17B0> Just looks well, isn't it? i have no idea what's wrong -- http://mail.python.org/mailman/listinfo/python-list