( )⚙ D2154 py3: use system strings when calling __import__

This is an archive of the discontinued Mercurial Phabricator instance.

py3: use system strings when calling __import__
ClosedPublic

Authored by indygreg on Feb 11 2018, 9:35 PM.

Details

Summary

We must pass the native str type when importing.

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, 9:35 PM
pulkit accepted this revision.Feb 12 2018, 2:18 AM
durin42 accepted this revision.Feb 12 2018, 9:26 PM
This revision is now accepted and ready to land.Feb 12 2018, 9:26 PM
This revision was automatically updated to reflect the committed changes.