These are the only uses of socket._fileobject in the codebase, so
let's just do something inline here rather than adding something to
pycompat.
Details
Details
- Reviewers
yuja - Group Reviewers
hg-reviewers - Commits
- rHGbf9a04d78084: hgweb: adapt to socket._fileobject changes in Python 3
Diff Detail
Diff Detail
- Repository
- rHG Mercurial
- Lint
Lint Skipped - Unit
Unit Tests Skipped
Event Timeline
Comment Actions
As long as self.request is a socket object, we can use request.makefile() on Python 2.