[docs] [issue21784] __init__.py can be a directory

Raymond Hettinger report at bugs.python.org
Tue Jun 17 06:54:33 CEST 2014

Raymond Hettinger added the comment:

> Is this expected? 

It is a little weird but usually problematic.  The cause that import checks for the existence of '__init__.py' but doesn't then add isfile() or  isdir() check which would be unnecessary 99.9% of the time.

I classify this a harmless oddity.

nosy: +rhettinger
priority: normal -> low

Python tracker <report at bugs.python.org>

More information about the docs mailing list