( )⚙ D3609 py3: bytestr() bytes to get bytechar while iterating on it

This is an archive of the discontinued Mercurial Phabricator instance.

py3: bytestr() bytes to get bytechar while iterating on it
ClosedPublic

Authored by pulkit on May 19 2018, 10:40 AM.

Details

Summary

Iterating on bytes give you ascii values instead of bytechr so we need to wrap
the bytes in pycompat.bytestr() to get bytechr while iterating.

Diff Detail

Repository
rHG Mercurial
Lint
Lint Skipped
Unit
Unit Tests Skipped

Event Timeline

pulkit created this revision.May 19 2018, 10:40 AM
This revision was automatically updated to reflect the committed changes.