[Python-Dev] warnings about missing __init__.py in toplevel directories
Guido van Rossum
guido at python.org
Sat May 27 00:46:11 CEST 2006
On 5/26/06, Ronald Oussoren <ronaldoussoren at mac.com> wrote:
> Some time ago a warning was introduced for directories on sys.path
> that don't contain an __init__.py but have the same name as a package/
> module that is being imported.
>
> Is it intentional that this triggers for toplevel imports?
Yes, since that's the major use case.
--
--Guido van Rossum (home page: http://www.python.org/~guido/)
More information about the Python-Dev
mailing list