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 msapiro
Recipients
Date 2006-01-18.20:55:35
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
part.get_payload(decode=True) of a uuencoded
email.Message() sub-part can result in warning messages
being written to sys.stderr. These warnings occur when
pad characters other than encoded zeros were used to
fill out the last encoded line to a multiple of 4
characters (+1 for the count character). Such non-zero
padded encoded parts are produced by some current
versions of Eudora and perhaps other MUAs. The warnings
are unnecessary in this case and cause problems for
other software, e.g., Mailman.

get_payload(decode=True) calls uu.decode to actually
decode the part payload. It should specify the
quiet=True flag in this call to supress the warning.

A suggested patch against Python 2.4.2 is attached.
History
Date User Action Args
2007-08-23 14:37:21adminlinkissue1409403 messages
2007-08-23 14:37:21admincreate