Question about isinstance()

Mr.Rech andrea.riciputi at
Fri Jan 27 10:45:57 CET 2006

bruno at modulix wrote:
> Mr.Rech wrote:
> > All in all it seems that the implementation that uses isinstance() is
> > better in this case...
> You could also use something like Zope's Interfaces... But I'm not sure
> it's worth the extra complexity.

Thanks for your suggestion, but it's not worth the extra complexity at

I've read something about interfaces, but my project will be a
small/middle sized one, and using such a sophisticated tool it would be
like using a cannon to shoot a sparrow (as we are used to say here in

Anyway thanks again for your comments.


More information about the Python-list mailing list