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
Lint Skipped
Unit
Unit Tests Skipped

Event Timeline

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