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 alex
Recipients alex
Date 2013-10-14.07:29:15
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1381735755.7.0.417601101762.issue19257@psf.upfronthosting.co.za>
In-reply-to
Content
Use case:

Alexanders-MacBook-Pro:pypy alex_gaynor$ python3.3
Python 3.3.2 (default, May 29 2013, 14:03:57)
[GCC 4.2.1 Compatible Apple LLVM 4.2 (clang-425.0.28)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import datetime.datetime
Traceback (most recent call last):
  File "<frozen importlib._bootstrap>", line 1521, in _find_and_load_unlocked
AttributeError: 'module' object has no attribute '__path__'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: No module named 'datetime.datetime'; datetime is not a package
>>>



Showing the user the original "module has no attribute __path__" error is just confusing, we should hide it.
History
Date User Action Args
2013-10-14 07:29:15alexsetrecipients: + alex
2013-10-14 07:29:15alexsetmessageid: <1381735755.7.0.417601101762.issue19257@psf.upfronthosting.co.za>
2013-10-14 07:29:15alexlinkissue19257 messages
2013-10-14 07:29:15alexcreate