Jonathan Share added the comment:
Attaching a patch for the quick fix I proposed below.
I would still like to see some feedback regarding making the design of
the mime module more object oriented. email.Message really shouldn't be
making assumtions about how subclasses represent their state.
Changes by Jonathan Share:
--
nosy: +facundobatista
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1822
__
___
Python-bugs-list mailing list
Unsubscribe:
Facundo Batista added the comment:
Fixed in r60073.
Regarding the flag, you're right: maybe these classes should deal it in
other way... but maybe there're reasons to do this.
If you want to push a better structure for this flag, feel free to raise
the issue in python-dev.
Anyway, the real
New submission from Jonathan Share:
Steps to reproduce
==
from email.mime.multipart import MIMEMultipart
foo = MIMEMultipart()
foo.is_multipart()
False
Expected Result
===
True should be returned from MIMEMultipart.is_multipart()
Notes
=
Looking at the