Page MenuHomePhabricator

py3: use bytes() to cast context instances
ClosedPublic

Authored by indygreg on Feb 11 2018, 5:57 PM.

Details

Summary

str and bytes are both implemented on context types. However,
str behaves differently on Python 2 and 3.

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

indygreg created this revision.Feb 11 2018, 5:57 PM
This revision was automatically updated to reflect the committed changes.