D2688: hgweb: adapt to socket._fileobject changes in Python 3

2018-03-08 Thread durin42 (Augie Fackler)
This revision was automatically updated to reflect the committed changes. Closed by commit rHGbf9a04d78084: hgweb: adapt to socket._fileobject changes in Python 3 (authored by durin42, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D2688?vs=

D2688: hgweb: adapt to socket._fileobject changes in Python 3

2018-03-06 Thread durin42 (Augie Fackler)
durin42 added a comment. Oh, good catch. Fixed and passes tests on 2.7. :) REPOSITORY rHG Mercurial REVISION DETAIL https://phab.mercurial-scm.org/D2688 To: durin42, #hg-reviewers, yuja Cc: yuja, mercurial-devel ___ Mercurial-devel mailing list

D2688: hgweb: adapt to socket._fileobject changes in Python 3

2018-03-06 Thread durin42 (Augie Fackler)
durin42 updated this revision to Diff 6673. REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D2688?vs=6647&id=6673 REVISION DETAIL https://phab.mercurial-scm.org/D2688 AFFECTED FILES mercurial/hgweb/server.py CHANGE DETAILS diff --git a/mercurial/hgweb

D2688: hgweb: adapt to socket._fileobject changes in Python 3

2018-03-06 Thread yuja (Yuya Nishihara)
yuja requested changes to this revision. yuja added a comment. This revision now requires changes to proceed. As long as `self.request` is a socket object, we can use `request.makefile()` on Python 2. REPOSITORY rHG Mercurial REVISION DETAIL https://phab.mercurial-scm.org/D2688 To: duri

D2688: hgweb: adapt to socket._fileobject changes in Python 3

2018-03-04 Thread durin42 (Augie Fackler)
durin42 created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY 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. REPOSITORY rHG