René's URL Explorer Experiment


Title: bpo-32844: subprocess: Fix a potential misredirection of a low fd to stderr by izbyshev · Pull Request #5689 · python/cpython · GitHub

Open Graph Title: bpo-32844: subprocess: Fix a potential misredirection of a low fd to stderr by izbyshev · Pull Request #5689 · python/cpython

X Title: bpo-32844: subprocess: Fix a potential misredirection of a low fd to stderr by izbyshev · Pull Request #5689 · python/cpython

Description: The Python programming language. Contribute to python/cpython development by creating an account on GitHub.

Open Graph Description: When redirecting, subprocess attempts to achieve the following state: each fd to be redirected to is less than or equal to the fd it is redirected from, which is necessary because redirection occur...

X Description: When redirecting, subprocess attempts to achieve the following state: each fd to be redirected to is less than or equal to the fd it is redirected from, which is necessary because redirection occur...

Opengraph URL: https://github.com/python/cpython/pull/5689

X: @github

direct link

Domain: github.com

route-pattern/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:8ca4fd07-addd-3541-f804-4992c1243ef1
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idC614:D9FFD:6012F2:8356E3:6A4F3836
html-safe-nonce7ecc41a206087404d6ed784db877f992553fa8e50acf8c195e1cfda721f4ed9b
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDNjE0OkQ5RkZEOjYwMTJGMjo4MzU2RTM6NkE0RjM4MzYiLCJ2aXNpdG9yX2lkIjoiODk1MTU0MDg1Njk0MDA4MzI1NCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac195e197b048a54cfe8a26575c9c4546f8f43e718fff66cbc2dffc280f7923dbc
hovercard-subject-tagpull_request:169224035
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/python/cpython/5689/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/affb0c3d8b1c0e0ff47a3b6e6ef737c1966cdd4404dc24d6d886086ff7aff8bd/python/cpython/pull/5689
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/affb0c3d8b1c0e0ff47a3b6e6ef737c1966cdd4404dc24d6d886086ff7aff8bd/python/cpython/pull/5689
og:image:altWhen redirecting, subprocess attempts to achieve the following state: each fd to be redirected to is less than or equal to the fd it is redirected from, which is necessary because redirection occur...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameizbyshev
hostnamegithub.com
expected-hostnamegithub.com
Noneb92d11c0aa4a77d54ef4af1078b6a15fb5a70a215b30c4ecf28889d5a8e656d9
turbo-cache-controlno-cache
go-importgithub.com/python/cpython git https://github.com/python/cpython.git
octolytics-dimension-user_id1525981
octolytics-dimension-user_loginpython
octolytics-dimension-repository_id81598961
octolytics-dimension-repository_nwopython/cpython
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id81598961
octolytics-dimension-repository_network_root_nwopython/cpython
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release2b8f23afb982271f1b22258a94aede67a6b77760
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/pull/5689#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F5689
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F5689
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=python%2Fcpython
Reloadhttps://github.com/python/cpython/pull/5689
Reloadhttps://github.com/python/cpython/pull/5689
Reloadhttps://github.com/python/cpython/pull/5689
Please reload this pagehttps://github.com/python/cpython/pull/5689
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/pull/5689
Notifications https://github.com/login?return_to=%2Fpython%2Fcpython
Fork 34.8k https://github.com/login?return_to=%2Fpython%2Fcpython
Star 73.6k https://github.com/login?return_to=%2Fpython%2Fcpython
Code https://github.com/python/cpython
Issues 5k+ https://github.com/python/cpython/issues
Pull requests 2.3k https://github.com/python/cpython/pulls
Actions https://github.com/python/cpython/actions
Projects https://github.com/python/cpython/projects
Security and quality 0 https://github.com/python/cpython/security
Insights https://github.com/python/cpython/pulse
Code https://github.com/python/cpython
Issues https://github.com/python/cpython/issues
Pull requests https://github.com/python/cpython/pulls
Actions https://github.com/python/cpython/actions
Projects https://github.com/python/cpython/projects
Security and quality https://github.com/python/cpython/security
Insights https://github.com/python/cpython/pulse
gpsheadhttps://github.com/gpshead
python:masterhttps://github.com/python/cpython/tree/master
izbyshev:bpo-32844https://github.com/izbyshev/cpython/tree/bpo-32844
Conversationhttps://github.com/python/cpython/pull/5689
Commits4 (4)https://github.com/python/cpython/pull/5689/commits
Checkshttps://github.com/python/cpython/pull/5689/checks
Files changedhttps://github.com/python/cpython/pull/5689/files
bpo-32844: subprocess: Fix a potential misredirection of a low fd to stderrhttps://github.com/python/cpython/pull/5689#top
gpsheadhttps://github.com/gpshead
python:masterhttps://github.com/python/cpython/tree/master
izbyshev:bpo-32844https://github.com/izbyshev/cpython/tree/bpo-32844
https://github.com/izbyshev
izbyshevhttps://github.com/izbyshev
Feb 14, 2018https://github.com/python/cpython/pull/5689#issue-297247903
Please reload this pagehttps://github.com/python/cpython/pull/5689
https://bugs.python.org/issue32844https://bugs.python.org/issue32844
Please reload this pagehttps://github.com/python/cpython/pull/5689
bpo-32844: subprocess: Fix a potential misredirection of a low fd to …https://github.com/python/cpython/pull/5689/commits/b42ff446f68b4135adff0e91582433199041658d
b42ff44https://github.com/python/cpython/pull/5689/commits/b42ff446f68b4135adff0e91582433199041658d
https://github.com/izbyshev
izbyshevhttps://github.com/izbyshev
gpsheadhttps://github.com/gpshead
code ownerhttps://github.com/python/cpython/blob/7745ec4e356ac1f4eaf43b155f4482c20a907d48/.github/CODEOWNERS#L41
February 14, 2018 21:16https://github.com/python/cpython/pull/5689#event-1474712710
https://github.com/the-knights-who-say-ni
the-knights-who-say-nihttps://github.com/the-knights-who-say-ni
CLA signed https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22CLA%20signed%22
Feb 14, 2018https://github.com/python/cpython/pull/5689#event-1474712785
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
awaiting review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20review%22
Feb 14, 2018https://github.com/python/cpython/pull/5689#event-1474712804
Add NEWS entryhttps://github.com/python/cpython/pull/5689/commits/2a591c7d5c2b20288e7fec2c86f1ead0af29acad
2a591c7https://github.com/python/cpython/pull/5689/commits/2a591c7d5c2b20288e7fec2c86f1ead0af29acad
https://github.com/gpshead
gpsheadhttps://github.com/gpshead
Mar 25, 2018https://github.com/python/cpython/pull/5689#event-1539735319
https://github.com/gpshead
gpsheadhttps://github.com/gpshead
needs backport to 3.6 https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22needs%20backport%20to%203.6%22
Mar 25, 2018https://github.com/python/cpython/pull/5689#event-1539735386
https://github.com/gpshead
gpsheadhttps://github.com/gpshead
Mar 25, 2018 https://github.com/python/cpython/pull/5689#pullrequestreview-106741268
View reviewed changes https://github.com/python/cpython/pull/5689/files/2a591c7d5c2b20288e7fec2c86f1ead0af29acad
Lib/test/test_subprocess.pyhttps://github.com/python/cpython/pull/5689/files/2a591c7d5c2b20288e7fec2c86f1ead0af29acad#diff-5825be1d1a8e2c68a9321c3d4d04980a72bd4354e35e70bd2407e5e28460c782
gpsheadhttps://github.com/gpshead
Mar 25, 2018https://github.com/python/cpython/pull/5689#discussion_r176951710
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/5689
Lib/test/test_subprocess.pyhttps://github.com/python/cpython/pull/5689/files/2a591c7d5c2b20288e7fec2c86f1ead0af29acad#diff-5825be1d1a8e2c68a9321c3d4d04980a72bd4354e35e70bd2407e5e28460c782
gpsheadhttps://github.com/gpshead
Mar 25, 2018https://github.com/python/cpython/pull/5689#discussion_r176951767
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/5689
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
Mar 25, 2018https://github.com/python/cpython/pull/5689#issuecomment-375998230
Please reload this pagehttps://github.com/python/cpython/pull/5689
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
awaiting changes https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20changes%22
awaiting review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20review%22
Mar 25, 2018https://github.com/python/cpython/pull/5689#event-1539741164
March 26, 2018 00:31https://github.com/python/cpython/pull/5689#commits-pushed-19eccf0
Compute an excluded descriptor in clearer mannerhttps://github.com/python/cpython/pull/5689/commits/19eccf08d8a7db4cf610fdd9948efc04e202dfd1
19eccf0https://github.com/python/cpython/pull/5689/commits/19eccf08d8a7db4cf610fdd9948efc04e202dfd1
Add a friendly message for assertion checkhttps://github.com/python/cpython/pull/5689/commits/aa120c2dc17a283630f1f269a8cda8c079862530
aa120c2https://github.com/python/cpython/pull/5689/commits/aa120c2dc17a283630f1f269a8cda8c079862530
https://github.com/izbyshev
izbyshevhttps://github.com/izbyshev
Mar 25, 2018 https://github.com/python/cpython/pull/5689#pullrequestreview-106744475
View reviewed changes https://github.com/python/cpython/pull/5689/files/19eccf08d8a7db4cf610fdd9948efc04e202dfd1
Lib/test/test_subprocess.pyhttps://github.com/python/cpython/pull/5689/files/2a591c7d5c2b20288e7fec2c86f1ead0af29acad..19eccf08d8a7db4cf610fdd9948efc04e202dfd1#diff-5825be1d1a8e2c68a9321c3d4d04980a72bd4354e35e70bd2407e5e28460c782
izbyshevhttps://github.com/izbyshev
Mar 25, 2018https://github.com/python/cpython/pull/5689#discussion_r176955088
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/5689
https://github.com/izbyshev
izbyshevhttps://github.com/izbyshev
Mar 25, 2018 https://github.com/python/cpython/pull/5689#pullrequestreview-106744630
View reviewed changes https://github.com/python/cpython/pull/5689/files/aa120c2dc17a283630f1f269a8cda8c079862530
Lib/test/test_subprocess.pyhttps://github.com/python/cpython/pull/5689/files/19eccf08d8a7db4cf610fdd9948efc04e202dfd1..aa120c2dc17a283630f1f269a8cda8c079862530#diff-5825be1d1a8e2c68a9321c3d4d04980a72bd4354e35e70bd2407e5e28460c782
izbyshevhttps://github.com/izbyshev
Mar 25, 2018https://github.com/python/cpython/pull/5689#discussion_r176955238
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/5689
https://github.com/izbyshev
izbyshevhttps://github.com/izbyshev
Mar 25, 2018https://github.com/python/cpython/pull/5689#issuecomment-376006082
Please reload this pagehttps://github.com/python/cpython/pull/5689
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
awaiting changes https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20changes%22
Mar 25, 2018https://github.com/python/cpython/pull/5689#event-1539782483
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
Mar 25, 2018https://github.com/python/cpython/pull/5689#issuecomment-376006086
@gpsheadhttps://github.com/gpshead
Please reload this pagehttps://github.com/python/cpython/pull/5689
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
awaiting change review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20change%20review%22
Mar 25, 2018https://github.com/python/cpython/pull/5689#event-1539782486
https://github.com/gpshead
gpsheadhttps://github.com/gpshead
Mar 26, 2018 https://github.com/python/cpython/pull/5689#pullrequestreview-107047185
View reviewed changes https://github.com/python/cpython/pull/5689/files/aa120c2dc17a283630f1f269a8cda8c079862530
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
awaiting merge https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20merge%22
awaiting change review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20change%20review%22
Mar 26, 2018https://github.com/python/cpython/pull/5689#event-1541713189
https://github.com/gpshead
gpsheadhttps://github.com/gpshead
0e7144bhttps://github.com/python/cpython/commit/0e7144b064a19493a146af94175a087b3888c37b
Mar 26, 2018https://github.com/python/cpython/pull/5689#event-1541715255
https://github.com/miss-islington
miss-islingtonhttps://github.com/miss-islington
Mar 26, 2018https://github.com/python/cpython/pull/5689#issuecomment-376289569
@izbyshevhttps://github.com/izbyshev
@gpsheadhttps://github.com/gpshead
Please reload this pagehttps://github.com/python/cpython/pull/5689
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
awaiting merge https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20merge%22
needs backport to 3.7 https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22needs%20backport%20to%203.7%22
Mar 26, 2018https://github.com/python/cpython/pull/5689#event-1541715306
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
Mar 26, 2018https://github.com/python/cpython/pull/5689#issuecomment-376289637
GH-6262https://github.com/python/cpython/pull/6262
3.7 branchhttps://github.com/python/cpython/tree/3.7
Please reload this pagehttps://github.com/python/cpython/pull/5689
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
Mar 26, 2018https://github.com/python/cpython/pull/5689#issuecomment-376289904
GH-6263https://github.com/python/cpython/pull/6263
3.6 branchhttps://github.com/python/cpython/tree/3.6
Please reload this pagehttps://github.com/python/cpython/pull/5689
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
needs backport to 3.6 https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22needs%20backport%20to%203.6%22
Mar 26, 2018https://github.com/python/cpython/pull/5689#event-1541717382
https://github.com/izbyshev
izbyshevhttps://github.com/izbyshev
March 26, 2018 20:02https://github.com/python/cpython/pull/5689#event-1541739510
https://github.co/hiddenchars
https://github.com/python/cpython/pull/{{ revealButtonHref }}
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F5689
https://github.com/gpshead
gpshead https://github.com/gpshead
https://github.com/python/cpython/pull/5689/files/aa120c2dc17a283630f1f269a8cda8c079862530
https://github.com/gpshead
gpshead https://github.com/gpshead
Please reload this pagehttps://github.com/python/cpython/pull/5689
https://github.com/izbyshev
https://github.com/bedevere-bot
https://github.com/miss-islington
https://github.com/gpshead
https://github.com/the-knights-who-say-ni
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.