[ python-Bugs-1598361 ] Misspelled submodule names for email module.

SourceForge.net noreply at sourceforge.net
Fri Nov 17 20:46:00 CET 2006


Bugs item #1598361, was opened at 2006-11-17 13:48
Message generated for change (Comment added) made by gbrandl
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1598361&group_id=5470

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Documentation
Group: None
>Status: Closed
>Resolution: Invalid
Priority: 5
Private: No
Submitted By: Dmytro O. Redchuk (truefox)
Assigned to: Nobody/Anonymous (nobody)
Summary: Misspelled submodule names for email module.

Initial Comment:
There are at http://docs.python.org/lib/module-email.html and below some errors in submodule names:
----------
# taken from
# http://docs.python.org/lib/module-email.message.html :
>>> from email.generator import Generator
----------
Traceback (most recent call last):
  File "<stdin>", line 1, in ?
ImportError: No module named generator
>>> from email.Generator import Generator
>>> 

The same for email.Message, email.Header and, probably, others (they start with lowercase letters).



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

>Comment By: Georg Brandl (gbrandl)
Date: 2006-11-17 19:46

Message:
Logged In: YES 
user_id=849994
Originator: NO

This is not a bug, you're looking at the docs for Python 2.5, and there
the email submodules are accessible by lower case names too.
In the 2.4 docs there's still the old titlecased name.

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

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


More information about the Python-bugs-list mailing list