more bugs in email module

Stuart D. Gathman stuart at bmsi.com
Sun Aug 24 01:08:59 EDT 2003


On Sun, 24 Aug 2003 00:58:20 -0400, Stuart D. Gathman wrote:

> http://bmsi.com/python/test/test8
> 
> The old system works fine on this example.

Let me clarify the problem with a short test:

------te.py--------
import email
import sys

msg = email.message_from_file(sys.stdin)
sys.stdout.write(msg.as_string())
-------------------
$ python2 te.py <test8 >test8.out
$ diff test8 test8.out
.... lots of differences that shouldn't be there ....

-- 
	      Stuart D. Gathman <stuart at bmsi.com>
Business Management Systems Inc.  Phone: 703 591-0911 Fax: 703 591-6154
"Confutatis maledictis, flamis acribus addictis" - background song for
a Microsoft sponsored "Where do you want to go from here?" commercial.




More information about the Python-list mailing list