[Python-Dev] 3.5 unittest does not support namespace packages for discovering

Robert Collins robertc at robertcollins.net
Thu Mar 23 15:14:28 EDT 2017


On 24 March 2017 at 04:59, INADA Naoki <songofacandy at gmail.com> wrote:
> And this issue is relating to it too: http://bugs.python.org/issue29716
>
> In short, "namespace package" is for make it possible to `pip install
> foo_bar foo_baz`,
> when foo_bar provides `foo.bar` and foo_baz provides `foo.baz`
> package.  (foo is namespace package).
>
> If unittests searches normal directly, it may walk deep into very
> large tree containing
> millions of directories.  I don't like it.

That is a risk, OTOH I think the failure to do what folk expect is a
bigger risk.

-Rob


More information about the Python-Dev mailing list