( )⚙ D12299 urllibcompat: remove Python 2 support code

This is an archive of the discontinued Mercurial Phabricator instance.

urllibcompat: remove Python 2 support code
ClosedPublic

Authored by indygreg on Mar 2 2022, 6:30 PM.

Details

Summary

We had to move the import statements to appease the import checker.

This whole module could probably be deleted as its point in life is to
pave over Python 2/3 differences. But that's for a different commit.

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.Mar 2 2022, 6:30 PM
Alphare accepted this revision.Mar 3 2022, 5:13 AM
This revision is now accepted and ready to land.Mar 3 2022, 5:13 AM
indygreg updated this revision to Diff 32467.Mar 3 2022, 11:09 AM
This revision was automatically updated to reflect the committed changes.