On 8/17/05, Barry Warsaw <[EMAIL PROTECTED]> wrote:
> On Wed, 2005-08-17 at 12:37, Jeremy Hylton wrote:
> > I'd like to see the builtin id() removed so that I can use it as a
> > local variable name without clashing with the builtin name.  I
> > certainly use the id() function, but not as often as I have a local
> > variable I'd like to name id.
> 
> Same here.
> 
> > The sys module seems like a natural
> > place to put id(), since it is exposing something about the
> > implementation of Python rather than something about the language; the
> > language offers the is operator to check ids.
> 
> +1
> -Barry

+1

-Brett
_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to