This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author petri.lehtinen
Recipients brett.cannon, joshtriplett, ncoghlan, petri.lehtinen, vstinner
Date 2011-05-31.15:30:15
SpamBayes Score 0.015226929
Marked as misclassified No
Message-id <1306855815.92.0.943081843465.issue12082@psf.upfronthosting.co.za>
In-reply-to
Content
The NullImporter is documented to raise ImportError on directories, not directories containing __init__.py:

    http://docs.python.org/library/imp.html#imp.NullImporter

Checking for __init__.py{,c,o} seems doable to me without having stat().
History
Date User Action Args
2011-05-31 15:30:16petri.lehtinensetrecipients: + petri.lehtinen, brett.cannon, ncoghlan, vstinner, joshtriplett
2011-05-31 15:30:15petri.lehtinensetmessageid: <1306855815.92.0.943081843465.issue12082@psf.upfronthosting.co.za>
2011-05-31 15:30:15petri.lehtinenlinkissue12082 messages
2011-05-31 15:30:15petri.lehtinencreate