Status of PEP's?

James_Althoff at i2.com James_Althoff at i2.com
Tue Mar 5 17:54:52 EST 2002


[David Eppstein]
>[James_Althoff]
>
> > And note again also, that (the equivalent of)
> >
> >     def __contains__(self,x):
> >         raise TypeError
> >
> > could be added to class int if the anguish proved to be
> > insurmountable <0.1 wink>.
>
> That would cause me much more anguish than even PEP 276 in
> its present form.

Right.  So we have a clear choice between "anguish" and "much more
anguish";  I will note that in the PEP <wink> (sorry Tim D. ;-).

> I really like the fact that "for ...stuff..." loops over exactly those
> values for which "...stuff..." is true.

I know you do.  And I can appreciate that.

> I don't want to see that broken.

Jim





More information about the Python-list mailing list