Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[3.14] Try to fix the fix for gh-119452#142180

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
serhiy-storchaka wants to merge2 commits intopython:3.14
base:3.14
Choose a base branch
Loading
fromserhiy-storchaka:http-server2

Conversation

@serhiy-storchaka
Copy link
Member

@serhiy-storchakaserhiy-storchaka commentedDec 2, 2025
edited by bedevere-appbot
Loading

@serhiy-storchaka
Copy link
MemberAuthor

!buildbot AMD64 Windows11 Non-Debug

@bedevere-bot
Copy link

🤖 New build scheduled with the buildbot fleet by@serhiy-storchaka for commitf00ef9f 🤖

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:AMD64 Windows11 Non-Debug

The builders matched are:

  • AMD64 Windows11 Non-Debug PR

while (len(data)<nbytesandlen(data)!=cursizeand
cursize=min(nbytes,_MIN_READ_BUF_SIZE)
data=self.rfile.read(cursize)
while (len(data)==cursize<nbytesand
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

len(data) == cursize means that we're expecting thatcursize bytes of the data arrive over the socket simultaneously, right?

Copy link
MemberAuthor

Choose a reason for 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 withoutfork(), becauseread(n) could return less thann bytes.#119455 fixed it, and we need to preserve this fix. I restored that code and try another approach -- using non-zero timeout.

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@encukouencukouencukou left review comments

Assignees

No one assigned

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

3 participants

@serhiy-storchaka@bedevere-bot@encukou

[8]ページ先頭

©2009-2025 Movatter.jp