[Email-SIG] fixing the current email module
Barry Warsaw
barry at python.org
Thu Oct 8 21:54:10 CEST 2009
On Oct 8, 2009, at 3:33 AM, Glenn Linderman wrote:
> Not sure that non-text MIME parts need to support being returned as
> strings.
I don't think they do. But e.g. an image/* MIME part should support
returning the decoded image data.
> So there must be APIs that support obtaining text and (same or
> different) APIs that support obtaining bytes for a given MIME part.
> However, I think it is proper that a MIME part that is not flagged
> as text/* might produce an error if asked for as text.
+1
-Barry
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 832 bytes
Desc: This is a digitally signed message part
URL: <http://mail.python.org/pipermail/email-sig/attachments/20091008/f036bb40/attachment.pgp>
More information about the Email-SIG
mailing list