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 eric.araujo
Recipients alex, brett.cannon, eric.araujo, eric.snow, vstinner
Date 2014-03-13.22:24:34
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1394749474.77.0.488298271401.issue19257@psf.upfronthosting.co.za>
In-reply-to
Content
> If you only had the latter exception all you would know is Python
> doesn't consider datetime a package but you wouldn't know why that is
Well, I’d be satisfied with that.  Looking at the doc or importing just datetime would let me know it’s a module, not a package.

> unless you knew the exact definition (the __path__ attribute exists).
To me that’s an implementation detail.  The real definition in my mental model is that modules are files and packages are directories.  __path__ is advanced stuff.
History
Date User Action Args
2014-03-13 22:24:34eric.araujosetrecipients: + eric.araujo, brett.cannon, vstinner, alex, eric.snow
2014-03-13 22:24:34eric.araujosetmessageid: <1394749474.77.0.488298271401.issue19257@psf.upfronthosting.co.za>
2014-03-13 22:24:34eric.araujolinkissue19257 messages
2014-03-13 22:24:34eric.araujocreate