pychecker - sets.Set need to be overridden

Istvan Albert ialbert at mailblocks.com
Mon Jan 17 13:12:47 EST 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