Message360310
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. |
|
Date |
User |
Action |
Args |
2020-01-20 12:16:18 | methane | set | recipients:
+ methane, ncoghlan, docs@python, eric.snow, wolma, Anthony Sottile, Eric Wieser |
2020-01-20 12:16:18 | methane | set | messageid: <1579522578.76.0.758549078757.issue29258@roundup.psfhosted.org> |
2020-01-20 12:16:18 | methane | link | issue29258 messages |
2020-01-20 12:16:18 | methane | create | |
|