[docs] [issue31283] Inconsistent behaviours with explicit and implicit inheritance from object

R. David Murray report at bugs.python.org
Sat Aug 26 15:49:09 EDT 2017

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 at bugs.python.org>

More information about the docs mailing list