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 trolldbois
Recipients georg.brandl, trolldbois
Date 2009-05-06.23:45:19
SpamBayes Score 0.000538602
Marked as misclassified No
Message-id <>
From documentation :

get_payload([i[, decode]])

"With optional argument i,[..] If the payload is a string (i.e.
is_multipart() is False) and i is given, a TypeError is raised."


"Optional decode is a flag [..] When True and the message is not a
multipart, the payload will be decoded if this header’s value is
quoted-printable or base64. [..]"

Now the bug : 
On a non-multipart b64 email,
how can the second-level-option "decode" be used, when using
first-level-optional 'i' throws an exception...

Two fixes possible : 
a) code fix
b) documentation fix
Date User Action Args
2009-05-06 23:45:21trolldboissetrecipients: + trolldbois, georg.brandl
2009-05-06 23:45:21trolldboissetmessageid: <>
2009-05-06 23:45:20trolldboislinkissue5951 messages
2009-05-06 23:45:19trolldboiscreate