[issue21290] imaplib.error when importing email package

2014-04-18 Thread Aaron Briel
Aaron Briel added the comment: I had a rouge compiled python file named email.pyc. My apologies. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21290 ___

[issue21290] imaplib.error when importing email package

2014-04-17 Thread Aaron Briel
New submission from Aaron Briel: I see an error when attempting to import the email package on a mac running Python 2.7.6rc1 (v2.7.6rc1:4913d0e9be30+, Oct 27 2013, 20:52:11) . This does not occur on another system running Python 2.7.3 (default, Mar 25 2013, 15:56:58) [GCC 4.4.7 20120313

[issue21290] imaplib.error when importing email package

2014-04-17 Thread R. David Murray
R. David Murray added the comment: There is no file 'email.py' in the Python standard library. You must have such a file in your python path somewhere, so when you import email it actually imports that file instead of the email package. You will note that 'email.py' in the traceback does