view mercurial/cffi/__init__.py @ 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 9cc438bf7d9a
children
line wrap: on
line source