Common Python Idioms

Kent Johnson kent at kentsjohnson.com
Fri Dec 15 12:55:15 EST 2006


Fredrik Lundh wrote:
> Stephen Eilert wrote:
> 
>> I do think that, if it is faster, Python should translate
>> "x.has_key(y)" to "y in x".
> 
> http://svn.python.org/view/sandbox/trunk/2to3/fix_has_key.py?view=markup

Seems to have moved to here:
http://svn.python.org/view/sandbox/trunk/2to3/fixes/fix_has_key.py?view=markup

> 
> </F> 
> 
> 
> 



More information about the Python-list mailing list