This is an archive of the discontinued Mercurial Phabricator instance.

httppeer: work around API differences on urllib Request objects
ClosedPublic

Authored by durin42 on Apr 14 2018, 12:32 AM.

Details

Summary

Since this is only a problem in httppeer, I'd rather keep this a
local-to-the-module kludge rather than pile more on pycompat. We'll
still find it easily to clean up later because it checks
pycompat.ispy3.

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

durin42 created this revision.Apr 14 2018, 12:32 AM
indygreg accepted this revision.Apr 16 2018, 7:11 PM
This revision is now accepted and ready to land.Apr 16 2018, 7:11 PM
This revision was automatically updated to reflect the committed changes.