[issue1823] Possible to set invalid Content-Transfer-Encoding on email.mime.multipart.MIMEMultipart

Barry A. Warsaw report at bugs.python.org
Sat Jan 19 17:28:07 CET 2008


Barry A. Warsaw added the comment:

You're right that this should probably be fixed in the subclass, but you
also have to remember that the parser generally doesn't create subclass
instances.  It only creates instances of Message.  As long as you can
make it work properly with the parser and generator, I'm okay with
overriding set_charset() in the subclass to do the right thing.

__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue1823>
__________________________________


More information about the Python-bugs-list mailing list