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? On Sat, Jun 23, 2012 at 8:25 AM, Antoine Pitrou <solipsis at pitrou.net> wrote: > > Hello, > > I've just noticed the following: > > $ mkdir foo > $ ./python > Python 3.3.0a4+ (default:837d51ba1aa2+1794308c1ea7+, Jun 23 2012, > 14:43:41) [GCC 4.5.2] on linux > Type "help", "copyright", "credits" or "license" for more information. >>>> import foo >>>> foo > <module 'foo' (namespace)> > > > Should even an empty directory be a valid namespace package? > > Regards > > Antoine. > > > _______________________________________________ > Python-Dev mailing list > Python-Dev at python.org > http://mail.python.org/mailman/listinfo/python-dev > Unsubscribe: http://mail.python.org/mailman/options/python-dev/guido%40python.org -- --Guido van Rossum (python.org/~guido)
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4