[issue31283] Inconsistent behaviours with explicit and implicit inheritance from object
Aug. 26, 2017
7:49 p.m.
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 <report@bugs.python.org> <http://bugs.python.org/issue31283> _______________________________________
3251
Age (days ago)
3251
Last active (days ago)
0 comments
1 participants
participants (1)
-
R. David Murray