[Python-bugs-list] [ python-Bugs-514676 ] multifile different in 2.2 from 2.1.1

noreply@sourceforge.net noreply@sourceforge.net
Fri, 08 Feb 2002 13:43:58 -0800


Bugs item #514676, was opened at 2002-02-07 22:24
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=514676&group_id=5470

Category: Python Library
Group: Python 2.2
Status: Open
Resolution: None
Priority: 5
Submitted By: Matthew Cowles (mdcowles)
>Assigned to: Guido van Rossum (gvanrossum)
Summary: multifile different in 2.2 from 2.1.1

Initial Comment:
Reported to python-help. When the test program I'll
attach is run on the test mail I'll attach separately,
it produces this under Python 2.1.1:

TYPE: multipart/mixed
BOUNDARY: =====================_590453667==_
TYPE: multipart/alternative
BOUNDARY: =====================_590453677==_.ALT
TYPE: text/plain
LINES: ['test A\n']
TYPE: text/html
LINES: ['<html>\n', '<b>test B</font></b></html>\n',
'\n']
TYPE: text/plain
LINES: ['Attached Content.\n', 'Attached Content.\n',
'Attached 
Content.\n', 'Attached Content.\n','\n']

But under Python 2.2, it produces:

TYPE: multipart/mixed
BOUNDARY: =====================_590453667==_
TYPE: text/plain
LINES: ['Attached Content.\n', 'Attached Content.\n',
'Attached 
Content.\n', 'Attached Content.\n']

The first output appears to me to be correct.

----------------------------------------------------------------------

>Comment By: Guido van Rossum (gvanrossum)
Date: 2002-02-08 13:43

Message:
Logged In: YES 
user_id=6380

You're absolutely right -- this is a bug.

Can you suggest a fix?

We also need a test suite!  Your test program is a beginning
for that...

----------------------------------------------------------------------

You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=514676&group_id=5470