title: Can the __name__ attribute be accessed from an imported module
body: <p>Given a module A, which imports a module B, is there a way for a function in module B (used in module A) to access the <code>__name__</code> attribute from module A without it being passed explicitly (as, for example, a function argument)?</p>