GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | |||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | |||||||||||||||
GeezerVison is showing github.com — [3.14] Try to fix the fix for gh-119452 by serhiy-storchaka · Pull Request #142180 · python/cpython Conversation
|
|
!buildbot AMD64 Windows11 Non-Debug |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
🤖 New build scheduled with the buildbot fleet by @serhiy-storchaka for commit f00ef9f 🤖 Results will be shown at: https://buildbot.python.org/all/#/grid?branch=refs%2Fpull%2F142180%2Fmerge The command will test the builders whose names match following regular expression: The builders matched are:
|
Sorry, something went wrong.
There was an error while loading. Please reload this page.
| while (len(data) < nbytes and len(data) != cursize and | ||
| cursize = min(nbytes, _MIN_READ_BUF_SIZE) | ||
| data = self.rfile.read(cursize) | ||
| while (len(data) == cursize < nbytes and |
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
len(data) == cursize means that we're expecting that cursize bytes of the data arrive over the socket simultaneously, right?
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Yes, and this assumption was incorrect. There was another bug in the old code -- it did not work on Linux without fork(), because read(n) could return less than n bytes. #119455 fixed it, and we need to preserve this fix. I restored that code and try another approach -- using non-zero timeout.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
The old PR with this fix has been created as #142216. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
There was an error while loading. Please reload this page.