[Python-Dev] Empty directory is a namespace?
Antoine Pitrou
solipsis at pitrou.net
Sat Jun 23 17:39:41 CEST 2012
On Sat, 23 Jun 2012 08:38:02 -0700
Guido van Rossum <guido at python.org> wrote:
> Yes. Otherwise, where to draw the line? What if it contains a single
> dot file? What if it contains no Python files? What if it contains
> only empty subdirectories?
That's true. I would have hoped for it to be recognized only when
there's at least one module or package inside, but it doesn't sound
easy to check for (especially in the recursive namespace packages case
- is that possible?).
Regards
Antoine.
More information about the Python-Dev
mailing list