Bug or Feature?

Delaney, Timothy C (Timothy) tdelaney at avaya.com
Mon Nov 24 17:53:41 EST 2003


> From: David Eppstein
> 
> It is very useful that ImmutableSet is closed under set operations.
> By making the set operations copy the types of their arguments, the 
> author of sets.py was able to achieve this without 
> duplicating each set 
> operation's implementation.  If you don't like this behavior you can 
> always override it...

So what happens when I make a set subclass that takes no parameters (other than self) to __init__?

Tim Delaney





More information about the Python-list mailing list