define 'in' operator on lists

Michael Hoffman m.h.3.9.1.without.dots.at.cam.ac.uk at example.com
Mon Oct 11 16:27:06 CEST 2004


Peter Otten wrote:
> Michael Hoffman wrote:
>>It's probably a good idea not to shadow the long built-in.
> 
> Relax. It's only shadowed inside a function that doesn't use the builtin
> anyway.

I can see that, but I was thinking mainly in terms of avoiding warnings and problems if the Python developers eventually try to optimize references to the builtins :)

-- 
Michael Hoffman



More information about the Python-list mailing list