Mercurial > hg
diff i18n/it.po @ 39106:ebf54a34b7b7
mail: pass in addr to _addressencode() in bytes
_addressencode() doesn't process a unicode addr well. For example,
acc.encode('ascii') would raise UnicodeEncodeError if acc was a unicode.
This patch temporarily restores the pre-952bf3c948f0 _addressencode().
Several tests would be broken on Python 3.
author | Yuya Nishihara <yuya@tcha.org> |
---|---|
date | Sun, 12 Aug 2018 12:11:36 +0900 |
parents | 4acf569facef |
children | d4ba4d51f85f |