[issue10901] Python 3 MIME generator dies if not given boundary

2011-01-13 Thread SilentGhost
SilentGhost added the comment: It is a duplicate of #1243654. Closing. -- nosy: +SilentGhost resolution: -> duplicate status: open -> closed superseder: -> Faster output if message already has a boundary ___ Python tracker

[issue10901] Python 3 MIME generator dies if not given boundary

2011-01-13 Thread Brandon Craig Rhodes
Brandon Craig Rhodes added the comment: Here is a patch that fixes the problem. The problem probably only occurs if the MIMEMultipart is actually given several MIME parts to use in its interior. -- keywords: +patch Added file: http://bugs.python.org/file20391/email-boundary.diff _

[issue10901] Python 3 MIME generator dies if not given boundary

2011-01-13 Thread Brandon Craig Rhodes
New submission from Brandon Craig Rhodes : If you try doing "msg.as_string()" to a MIMEMultipart message that has not been given a boundary, then it dies with this exception: Traceback (most recent call last): File "mime_gen_alt.py", line 40, in print(msg.as_string()) File "/home/brand