[Import-SIG] What if namespace imports weren't special?
barry at python.org
Mon Jul 11 16:23:55 CEST 2011
On Jul 11, 2011, at 12:39 AM, P.J. Eby wrote:
>Suppose that we reserve a special directory name, like 'pypkg'. And, if a
>sys.path directory contains a 'py-pkg' subdirectory, then any directory in
>that directory (recursively) is a package following __path__-assembly
I'm not entirely sold on the idea, but I do have some lovely bikeshed paint.
*If* this idea were to pan out, I think __package__ would be a good directory
name. Okay, it's not as unimportable itself as py-pkg, but it's still special
enough to have its semantics controlled by Python.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 836 bytes
Desc: not available
More information about the Import-SIG