This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author r.david.murray
Recipients docs@python, gone, r.david.murray, rhettinger, steven.daprano, veky
Date 2017-08-26.19:49:09
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1503776949.21.0.0489302223124.issue31283@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2017-08-26 19:49:09r.david.murraysetrecipients: + r.david.murray, rhettinger, steven.daprano, docs@python, veky, gone
2017-08-26 19:49:09r.david.murraysetmessageid: <1503776949.21.0.0489302223124.issue31283@psf.upfronthosting.co.za>
2017-08-26 19:49:09r.david.murraylinkissue31283 messages
2017-08-26 19:49:09r.david.murraycreate