pychecker - sets.Set need to be overridden

Istvan Albert ialbert at mailblocks.com
Mon Jan 17 19:12:47 CET 2005


Peter Otten wrote:

> The Set class has implementations for __cmp__() and __hash__() that
> unconditionally raise an exception. pychecker assumes that these methods
> are "abstract", i. e. meant to be overriden by a subclass, and warns that
> you are instantiating an abstract base class, while the intention of the

I see. Thanks!

Istvan.



More information about the Python-list mailing list