[Python-Dev] Draft PEP: "Simplified Package Layout and Partitioning"
Greg Ewing
greg.ewing at canterbury.ac.nz
Fri Jul 22 09:37:40 CEST 2011
Antoine Pitrou wrote:
> The additional confusion lies in the fact that a module can be shadowed
> by something which is not a module (a mere global variable). I find it
> rather baffling.
I think we're stuck with that as long as we use the same
syntax for importing a submodule and importing a non-module
name from a module, i.e. 'from x import y'.
--
Greg
More information about the Python-Dev
mailing list