[Python-Dev] Making builtins more efficient

Phillip J. Eby pje at telecommunity.com
Mon Mar 13 21:14:09 CET 2006


At 02:47 PM 3/13/2006 -0500, Jim Jewett wrote:
>Paul Moore wrote:
>
> > Is there any practical way of detecting and flagging
> > constructs like the above (remotely shadowing a
> > builtin in another module)?
>
>Phillip J. Eby wrote:
> > the patch ended up being backed out ... too strict
> > of a check to be accepted for Python 2.4.
>
>http://svn.python.org/view/python/trunk/Objects/moduleobject.c
>
>It was revision 33054, backed out in 33084.
>
>The patch warned about any shadowing of builtins, which
>probably is too strict.

I'm curious: what actually happened?  What things were causing warnings?



More information about the Python-Dev mailing list