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 hdiogenes
Recipients barry, benjamin.peterson, brett.cannon, hdiogenes, rhettinger
Date 2008-06-04.06:43:13
SpamBayes Score 0.019734513
Marked as misclassified No
Message-id <1212561795.32.0.65451734468.issue2848@psf.upfronthosting.co.za>
In-reply-to
Content
It's relatively easy to replace mimetools in most places: it's just a 
matter of changing mimetools.Message to email.message_from_file, but it 
gets a lot more complicated when there's inheritance involved.

The problem is that mimetools.Message is both a parser and a Message 
representation, and AFAIK there's no single class in ``email`` which does 
both -- the functionality is split between the Parser and Message classes.

Inheritance happens in two places: ``pydoc.Message`` and 
``http.client.HTTPMessage``, and I couldn't find a solution for those 
cases yet. Any help would be appreciated.
History
Date User Action Args
2008-06-04 06:43:15hdiogenessetspambayes_score: 0.0197345 -> 0.019734513
recipients: + hdiogenes, barry, brett.cannon, rhettinger, benjamin.peterson
2008-06-04 06:43:15hdiogenessetspambayes_score: 0.0197345 -> 0.0197345
messageid: <1212561795.32.0.65451734468.issue2848@psf.upfronthosting.co.za>
2008-06-04 06:43:14hdiogeneslinkissue2848 messages
2008-06-04 06:43:13hdiogenescreate