[issue11783] email parseaddr and formataddr should be IDNA aware

R. David Murray report at bugs.python.org
Mon May 28 22:51:27 CEST 2012


R. David Murray <rdmurray at bitdance.com> added the comment:

I'm finally getting back around to this.  Torsten, could you submit a contributor agreement, please?  (http://www.python.org/psf/contrib/)

And to answer the question you had about the 'still failing' test, parseaddr isn't currently doing the encoded-word decode.  Either it should do that too, or it shouldn't do the IDNA decode.  I think it should do the decode, because parseaddr and formataddr are supposed to be inverses.  And decoding when decoding didn't used to be done seems like a backward compatible change: a program doing its own decoding just won't find anything that needs decoding.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue11783>
_______________________________________


More information about the Python-bugs-list mailing list