[ python-Bugs-816344 ] Missing import in email example

SourceForge.net noreply at sourceforge.net
Fri Nov 21 15:28:17 EST 2003


Bugs item #816344, was opened at 2003-10-02 01:05
Message generated for change (Comment added) made by bwarsaw
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=816344&group_id=5470

Category: Documentation
Group: Python 2.3
>Status: Closed
>Resolution: Fixed
Priority: 5
Submitted By: Tony Meyer (anadelonbrin)
Assigned to: Barry A. Warsaw (bwarsaw)
Summary: Missing import in email example

Initial Comment:
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.

----------------------------------------------------------------------

>Comment By: Barry A. Warsaw (bwarsaw)
Date: 2003-11-21 15:28

Message:
Logged In: YES 
user_id=12800

Fixed for both Python 2.3.3a0 and Python 2.4a0.


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=816344&group_id=5470



More information about the Python-bugs-list mailing list