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

gh-142195: Fixed Popen.communicate indefinite loops#143203

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

Merged
gpshead merged 5 commits intopython:mainfromprithviraj-chaudhuri:fix-issue-142195
Dec 28, 2025

Conversation

@prithviraj-chaudhuri
Copy link
Contributor

@prithviraj-chaudhuriprithviraj-chaudhuri commentedDec 27, 2025
edited by bedevere-appbot
Loading

  • Changed condition in Lib/subprocess.py _communicate to call _check_timeout when 'timeout <= 0'

@gpsheadgpshead self-assigned thisDec 27, 2025
@gpsheadgpshead added needs backport to 3.13bugs and security fixes needs backport to 3.14bugs and security fixes type-bugAn unexpected behavior, bug, or error labelsDec 27, 2025
@gpsheadgpsheadenabled auto-merge (squash)December 28, 2025 16:35
@gpsheadgpshead merged commitfa9a425 intopython:mainDec 28, 2025
50 checks passed
@miss-islington-app
Copy link

Thanks@prithviraj-chaudhuri for the PR, and@gpshead for merging it 🌮🎉.. I'm working now to backport this PR to: 3.13, 3.14.
🐍🍒⛏🤖

miss-islington pushed a commit to miss-islington/cpython that referenced this pull requestDec 28, 2025
…43203)Changed condition to evaluate if timeout is less than or equals to 0. This is needed for simulated time environments such as Shadow where the time will match exactly on the boundary.---------(cherry picked from commitfa9a425)Co-authored-by: Prithviraj Chaudhuri <p.chaudhuri1993@gmail.com>Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com>
miss-islington pushed a commit to miss-islington/cpython that referenced this pull requestDec 28, 2025
…43203)Changed condition to evaluate if timeout is less than or equals to 0. This is needed for simulated time environments such as Shadow where the time will match exactly on the boundary.---------(cherry picked from commitfa9a425)Co-authored-by: Prithviraj Chaudhuri <p.chaudhuri1993@gmail.com>Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com>
@bedevere-app
Copy link

GH-143255 is a backport of this pull request to the3.14 branch.

@bedevere-appbedevere-appbot removed the needs backport to 3.14bugs and security fixes labelDec 28, 2025
@bedevere-app
Copy link

GH-143256 is a backport of this pull request to the3.13 branch.

@bedevere-appbedevere-appbot removed the needs backport to 3.13bugs and security fixes labelDec 28, 2025
gpshead pushed a commit that referenced this pull requestDec 28, 2025
#143256)gh-142195: Fixed Popen.communicate indefinite loops (GH-143203)Changed condition to evaluate if timeout is less than or equals to 0. This is needed for simulated time environments such as Shadow where the time will match exactly on the boundary.---------(cherry picked from commitfa9a425)Co-authored-by: Prithviraj Chaudhuri <p.chaudhuri1993@gmail.com>Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com>
gpshead pushed a commit that referenced this pull requestDec 28, 2025
#143255)gh-142195: Fixed Popen.communicate indefinite loops (GH-143203)Changed condition to evaluate if timeout is less than or equals to 0. This is needed for simulated time environments such as Shadow where the time will match exactly on the boundary.---------(cherry picked from commitfa9a425)Co-authored-by: Prithviraj Chaudhuri <p.chaudhuri1993@gmail.com>Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com>
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@gpsheadgpsheadgpshead approved these changes

@StanFromIrelandStanFromIrelandAwaiting requested review from StanFromIreland

Assignees

@gpsheadgpshead

Labels

type-bugAn unexpected behavior, bug, or error

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

3 participants

@prithviraj-chaudhuri@gpshead@StanFromIreland

[8]ページ先頭

©2009-2026 Movatter.jp