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

2011-01-13 Thread Brandon Craig Rhodes
New submission from Brandon Craig Rhodes bran...@rhodesmill.org: 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 module

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

2011-01-13 Thread Brandon Craig Rhodes
Brandon Craig Rhodes bran...@rhodesmill.org 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:

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

2011-01-13 Thread SilentGhost
SilentGhost ghost@gmail.com 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