The readline method append to the chunks the content of the _rbuf then there
is a loop that call _raw_read which on Python3 call readinto. But the readinto
version in mercurial append again the _rbuf content. So this creates the
duplicate content. This does not happen in Python2 because _raw_read does not
call readinto.
Details
Details
- Reviewers
marmoute indygreg - Group Reviewers
hg-reviewers - Commits
- rHG49f8ba4febec: keepalive: Do not append _rbuf if _raw_readinto exists (issue6356)
Diff Detail
Diff Detail
- Repository
- rHG Mercurial
- Branch
- default
- Lint
No Linters Available - Unit
No Unit Test Coverage
Event Timeline
Comment Actions
Good work tracking down this obscure failure!
I'm going to land this in the stable branch so it is in the next release.