R. David Murray added the comment:

OK, agreed.  The general principle is: if you reference the name, it is looked 
up in the the builtins namespace at runtime (effectively an indirect 
reference).  If the syntax doesn't explicitly mention the name, then it is 
going to be (the equivalent of) a direct reference, and changing builtins won't 
change it.  So this is really just a specific example of how python namespacing 
works in general.

----------
resolution:  -> not a bug
stage:  -> resolved
status: open -> closed

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue31283>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to