Inada Naoki <songofaca...@gmail.com> added the comment:

I am totally agree with Wolfgang:

> they make it impossible to know whether a directory found on the filesystem 
> is *intended* as a Python package or not.

I think we shouldn't treat normal directory as namespace package until some 
portion in the directory is imported, or it is specified explicitly.

So walk_packages() should be used like:

  walk_packages("/path/to/namespace", "namespace")

I already rejected similar issue: #29642.

If you can not agree with me, please make an thread in python-dev ML or 
discuss.python.org.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue29258>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to