Status of PEP's?

David Eppstein eppstein at ics.uci.edu
Tue Mar 5 16:37:39 EST 2002


In article <mailman.1015362490.415.python-list at python.org>,
 James_Althoff at i2.com wrote:

> 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.

I really like the fact that "for ...stuff..." loops over exactly those 
values for which "...stuff..." is true.  I don't want to see that broken.



More information about the Python-list mailing list