mercurial/cext/__init__.py
author Augie Fackler <augie@google.com>
Wed, 11 Apr 2018 14:39:49 -0400
changeset 37587 192b7ad06932
parent 32211 c48583859e04
permissions -rw-r--r--
keepalive: rewrite readinto() to not use read() It turns out http.client on Python 3 sometimes uses readinto() in the implementation of read(). Unfortunately, Python 2 doesn't have a readinto() in httplib's client, so we have to support both codepaths. Subclassing is bad, folks. Differential Revision: https://phab.mercurial-scm.org/D3246
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines: