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.

classification
Title: Missing import in email example
Type: Stage:
Components: Documentation Versions: Python 2.3
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: barry Nosy List: anadelonbrin, barry
Priority: normal Keywords:

Created on 2003-10-02 05:05 by anadelonbrin, last changed 2022-04-10 16:11 by admin. This issue is now closed.

Messages (2)
msg18505 - (view) Author: Tony Meyer (anadelonbrin) Date: 2003-10-02 05:05
The "email-dir.py" example in the email module 
documentation is missing an import.  The MIMEBase is 
used (when a generic file is found), but MIMEBase is not 
imported.

Putting "from email.MIMEBase import MIMEBase" with the 
other imports fixes this.

This is Python 2.3.1, and also the cvs that anon sf 
thinks is current.
msg18506 - (view) Author: Barry A. Warsaw (barry) * (Python committer) Date: 2003-11-21 20:28
Logged In: YES 
user_id=12800

Fixed for both Python 2.3.3a0 and Python 2.4a0.
History
Date User Action Args
2022-04-10 16:11:33adminsetgithub: 39350
2003-10-02 05:05:49anadelonbrincreate