John Edmonds <pocketcooki...@gmail.com> added the comment: It looks like set_charset's documentation says that it assumes you are calling it on a message with a mimetype of text/*. This case calls it on a message of type multipart/mixed. Nonetheless, I am attaching a patch that catches this earlier and prints a more relevant and consistent error message.
---------- keywords: +patch nosy: +pocketcookies Added file: http://bugs.python.org/file15979/issue5423.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue5423> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com