This is an archive of the discontinued Mercurial Phabricator instance.

py3: use bytes instead of str in isinstance
ClosedPublic

Authored by pulkit on Feb 26 2018, 7:32 AM.

Details

Summary

Internally we use bytes everywhere, and str on Python 3 is unicodes, so we need
to make sure we are doing the right check.

Diff Detail

Repository
rHG Mercurial
Lint
Lint Skipped
Unit
Unit Tests Skipped

Event Timeline

pulkit created this revision.Feb 26 2018, 7:32 AM
This revision was automatically updated to reflect the committed changes.