Bug or Feature?
Delaney, Timothy C (Timothy)
tdelaney at avaya.com
Mon Nov 24 16:15:18 EST 2003
> From: Stephan Diehl
> >>
> >> >>> class myset(Set):pass
> >> ...
> >> >>> a = myset([1,2])
> >> >>> b = myset([2,3])
> >> >>> c = a & b
> >> >>> type(c)
> >> <class '__main__.myset'>
> >>
> >> subclasses of Set are closed under the set operations. :-)
> >
> > If you let Guido see that, it won't in 2.4 <wink>.
>
> Could we please delete this thread? What have I done?
The Right Thing(TM).
"In the face of ambiguity, refuse the temptation to guess." (Go Tim Peters!).
Tim Delaney
More information about the Python-list
mailing list