[Python-Dev] Empty directory is a namespace? (original) (raw)
Antoine Pitrou solipsis at pitrou.net
Sat Jun 23 17:25:34 CEST 2012
- Previous message: [Python-Dev] cpython: #15114: the strict mode of HTMLParser and the HTMLParseError exception are
- Next message: [Python-Dev] Empty directory is a namespace?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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.
- Previous message: [Python-Dev] cpython: #15114: the strict mode of HTMLParser and the HTMLParseError exception are
- Next message: [Python-Dev] Empty directory is a namespace?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]