This is an archive of the discontinued Mercurial Phabricator instance.

mail: be more cautious about bytes vs str for py3 compat
ClosedPublic

Authored by durin42 on Aug 9 2018, 10:07 PM.

Details

Summary

It's suboptimal that we get a bytes on 2 and a unicode on 3, but it's
easy to work with and I'm disinclined to change anything unless we
start using some sort of type inferencer.

Diff Detail

Repository
rHG Mercurial
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

durin42 created this revision.Aug 9 2018, 10:07 PM
This revision was automatically updated to reflect the committed changes.