[Import-SIG] One last try: "virtual packages"

P.J. Eby pje at telecommunity.com
Tue Jul 12 05:17:15 CEST 2011

At 08:19 PM 7/11/2011 -0600, Eric Snow wrote:
>Cool idea.  So for users the only difference is that suddenly foo.py
>and a foo directory (without __init__.py) can coexist/cooperate, and
>__init__.py becomes optional?

That, and if *no* directory of the given name has an __init__.py, 
then the directory is a virtual package that combines portions spread 
across sys.path.

More information about the Import-SIG mailing list