D3957: patchbomb: python 3 really wants those email addresses in unicode

yuja (Yuya Nishihara) phabricator at mercurial-scm.org
Tue Jul 17 09:25:34 EDT 2018


yuja added a comment.


  > - sendmail(sender_addr, to + bcc + cc, fp.getvalue()) +            alldests = to + bcc + cc +            alldests = [pycompat.strurl(d) for d in alldests] +            sendmail(sender_addr, alldests, fp.getvalue())
  
  `encoding.strfromlocal()` to avoid unicode exception.

REPOSITORY
  rHG Mercurial

REVISION DETAIL
  https://phab.mercurial-scm.org/D3957

To: durin42, #hg-reviewers
Cc: yuja, mercurial-devel


More information about the Mercurial-devel mailing list