This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author kxroberto
Recipients ajaksu2, barry, kxroberto
Date 2009-03-21.10:05:56
SpamBayes Score 0.015753923
Marked as misclassified No
Message-id <1237629965.86.0.105867193756.issue1459867@psf.upfronthosting.co.za>
In-reply-to
Content
"g = Generator(fp,mangle_from_=unixfrom)"
in that code location below? 
It produced exceptions often when message lines (or headerlines e.g.
Subject also when I remember right) begin with the char ">" or so.

--- Message.py.orig	2004-12-22 16:01:38.000000000 +0100
+++ Message.py	2006-03-28 10:59:42.000000000 +0200
@@ -126,7 +126,7 @@
         """
         from email.Generator import Generator
         fp = StringIO()
-        g = Generator(fp)
+        g = Generator(fp,mangle_from_=unixfrom)
         g.flatten(self, unixfrom=unixfrom)
         return fp.getvalue()
History
Date User Action Args
2009-03-21 10:06:06kxrobertosetrecipients: + kxroberto, barry, ajaksu2
2009-03-21 10:06:05kxrobertosetmessageid: <1237629965.86.0.105867193756.issue1459867@psf.upfronthosting.co.za>
2009-03-21 10:05:57kxrobertolinkissue1459867 messages
2009-03-21 10:05:56kxrobertocreate