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 pitrou
Recipients alex, brett.cannon, eric.araujo, eric.snow, pitrou, r.david.murray, vstinner
Date 2014-03-14.11:52:37
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1394797957.8.0.975171374048.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 
> unless you knew the exact definition (the __path__ attribute exists). 
> Having the former exception helps make that a bit more obvious if you 
> didn't already know it.

I don't think someone who doesn't know about __path__ would be very enlightened by the error message. Also, I don't think error messages have a role in teaching about the implementation details of features, so I'd vote for removing the __context__ here.
History
Date User Action Args
2014-03-14 11:52:37pitrousetrecipients: + pitrou, brett.cannon, vstinner, eric.araujo, alex, r.david.murray, eric.snow
2014-03-14 11:52:37pitrousetmessageid: <1394797957.8.0.975171374048.issue19257@psf.upfronthosting.co.za>
2014-03-14 11:52:37pitroulinkissue19257 messages
2014-03-14 11:52:37pitroucreate