Re: [PATCH]: Encoding fix mailer.py
On 11/13/2012 03:19 AM, Igor Galić wrote:
>>> Igor, I took a look at your patch. I was confused by one aspect:
>>> why split
>>> the from_addr into words an encode each one individually, rather
>>> encoding the whole header value like we do for the Subject: header?
>>> I dug
>>> around in the related RFCs, and if I'm reading the RFCs correctly,
>>> per-word encoding is actually the right thing to do. Should we,
>>> then, do
>>> the same for the Subject: header?
>> Attaching my current modification of your original patch.
> My python-fu hasn't really improved since then, but looking at
> your code it looks as though you're not importing email.Header
> in a loop at least ;)
True. But ... uh ... any response on the more meaningful questions I asked
of you in this thread?
C. Michael Pilato <cmpilato_at_collab.net>
CollabNet <> www.collab.net <> Enterprise Cloud Development
Received on 2012-11-13 14:57:46 CET
This is an archived mail posted to the Subversion Dev