Re: frozenset/subclassing/keyword args

2005-11-01 Thread Mark E. Fenner
> Without researching it, I would guess that you have to override __new__ > so as not to pass through the myName arg to the otherwise inherited and > called-with-all-arguments __new__ of the base class. > Regards, > Bengt Richter Bengt, Thanks as always! Python's rabbit holes always go a lit

Re: frozenset/subclassing/keyword args

2005-10-31 Thread Bengt Richter
On Mon, 31 Oct 2005 19:31:33 GMT, "Mark E. Fenner" <[EMAIL PROTECTED]> wrote: >Hello all, > >I was migrating some code from sets.ImmutableSet to frozenset and noticed >the following: > >**code >#!/usr/bin/env python > >from sets import ImmutableSet > > >class MSet1(ImmutableSet): >

Re: frozenset/subclassing/keyword args

2005-10-31 Thread Kent Johnson
Mark E. Fenner wrote: > Speaking of which, in the docs at the bottom of the description of the > builtin set/frozenset, there is a link to a page describing differences > between the builtin sets and the sets module sets. This link is broken > locally and on the python.org docs. > Locally, it read