Mercurial > hg
view relnotes/next @ 49233:520722523955
worker: implement _blockingreader.readinto() (issue6444)
The core logic for readinto() was already implemented in read(), so this is
mostly extracting that code into its own method.
Another fix for issue6444 was committed to the stable branch: 2fe4efaa59af.
That is a minimal fix that implements readinto() only on Python versions that
require readinto() (3.8.0 and 3.8.1), which is the right approach for the
stable branch. However, I think that this changeset has its value. It improves
performance in cases when pickle can use readinto(), it reduces code
duplication compared to the other patch, and by defining readinto() on all
Python versions, it makes behavior more consistent across all Python versions.
This changesets reverts the other change.
author | Manuel Jacob <me@manueljacob.de> |
---|---|
date | Sun, 22 May 2022 00:10:58 +0200 |
parents | f0081a551f37 |
children | a974c52fb79a |
line wrap: on
line source
= Mercurial XXX = == New Features == == Default Format Change == These changes affect newly created repositories (or new clones) done with Mercurial XXX. == New Experimental Features == == Bug Fixes == == Backwards Compatibility Changes == == Internal API Changes == == Miscellaneous ==