[Tracker-discuss] [issue147] Current email headers corrupt mail reader display

Barry Warsaw metatracker at psf.upfronthosting.co.za
Fri Sep 21 13:13:38 CEST 2007


Barry Warsaw added the comment:

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Sep 21, 2007, at 3:13 AM, Stephen Turnbull wrote:

> It might help (and certainly would aid readability until the full  
> cause of the
> expanding headers is understood) if instead of using TABs to  
> creating folding
> whitespace, the email module was told to use a SPACE for that.

The email package in Python 3 is (I believe) much better at  
preserving existing folding whitespace according to the rues of RFC  
2822.  This code should be backported to Python 2 and a new version  
should be released.

- -Barry

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (Darwin)

iQCVAwUBRvOmzHEjvBPtnXfVAQLETAQArUNHFlTkzWmBBi6Hwmrp6oZ5dALQbXcs
XTdghck4uDWvsXSVF+ILIdxUlkfKIDWwD+6tf8uwTKj2jFBQ8bDgeWtmmdVMjTgB
xZEM8qdZ9TRmaVPAhf9nT+ueMK220D+blvhUyLeAH+1R15Bh1FdBEwNFmHM170zK
N23p4fEeNDw=
=I6lm
-----END PGP SIGNATURE-----

_______________________________________________________
Meta Tracker <metatracker at psf.upfronthosting.co.za>
<http://psf.upfronthosting.co.za/roundup/meta/issue147>
_______________________________________________________


More information about the Tracker-discuss mailing list