This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author methane
Recipients Anthony Sottile, Eric Wieser, docs@python, eric.snow, methane, ncoghlan, wolma
Date 2020-01-20.12:16:18
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1579522578.76.0.758549078757.issue29258@roundup.psfhosted.org>
In-reply-to
Content
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.
History
Date User Action Args
2020-01-20 12:16:18methanesetrecipients: + methane, ncoghlan, docs@python, eric.snow, wolma, Anthony Sottile, Eric Wieser
2020-01-20 12:16:18methanesetmessageid: <1579522578.76.0.758549078757.issue29258@roundup.psfhosted.org>
2020-01-20 12:16:18methanelinkissue29258 messages
2020-01-20 12:16:18methanecreate