Message300901
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. |
|
Date |
User |
Action |
Args |
2017-08-26 19:49:09 | r.david.murray | set | recipients:
+ r.david.murray, rhettinger, steven.daprano, docs@python, veky, gone |
2017-08-26 19:49:09 | r.david.murray | set | messageid: <1503776949.21.0.0489302223124.issue31283@psf.upfronthosting.co.za> |
2017-08-26 19:49:09 | r.david.murray | link | issue31283 messages |
2017-08-26 19:49:09 | r.david.murray | create | |
|