__eq__() inconvenience when subclassing set

Jess Austin jess.austin at gmail.com
Thu Oct 29 23:07:30 CET 2009

On Oct 29, 3:54 pm, Mick Krippendorf <mad.m... at gmx.de> wrote:
> Jess Austin wrote:
> > That's nice, but it means that everyone who imports my class will have
> > to import the monkeypatch of frozenset, as well.  I'm not sure I want
> > that.  More ruby than python, ne?
> I thought it was only a toy class?

Well, I posted a toy, but it's a stand-in for something else more
complicated.  Trying to conserve bytes, you know.

More information about the Python-list mailing list