| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:912b5ab9-866f-a20c-9a53-b5134429b072 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | C194:1255E3:1D0F683:29CDDF2:6A58D339 |
| html-safe-nonce | cc893ec2b8c0fa191c6bae2d8ac4dd7f3e721e31319b03db56dd8c81e8830cc0 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDMTk0OjEyNTVFMzoxRDBGNjgzOjI5Q0RERjI6NkE1OEQzMzkiLCJ2aXNpdG9yX2lkIjoiODk3MTA4MjM1Njg0MjA5MTMyMSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 06963a30eb94d277fbbf956c68c7a4af59ce2046b03ed52e585101639262aeea |
| hovercard-subject-tag | pull_request:160329953 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | ///pull_requests/show/files |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/python/cpython/pull/5026/files |
| twitter:image | https://avatars.githubusercontent.com/u/68491?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/68491?s=400&v=4 |
| og:image:alt | In Python 3.3-3.6 subprocess.call and subprocess.run would immediately
SIGKILL the child process upon receiving a SIGINT (which raises a
KeyboardInterrupt). We now give the child a small amount of... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5f2a0c7865178af3d91dd9f13b0cdfc3c73a2529c873d2780bb4c01271a57ec6 |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/python/cpython git https://github.com/python/cpython.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 81598961 |
| octolytics-dimension-repository_nwo | python/cpython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 81598961 |
| octolytics-dimension-repository_network_root_nwo | python/cpython |
| turbo-body-classes | logged-out env-production page-responsive full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 8aae7b8d6caacacf5c66eaeb2702d8dc88d85b4a |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/python/cpython/pull/5026/files#start-of-content |
|
| https://github.com/ |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F5026%2Ffiles |
| GitHub CopilotWrite better code with AI | https://github.com/features/copilot |
| GitHub Copilot appDirect agents from issue to merge | https://github.com/features/ai/github-app |
| MCP RegistryNewIntegrate external tools | https://github.com/mcp |
| ActionsAutomate any workflow | https://github.com/features/actions |
| CodespacesInstant dev environments | https://github.com/features/codespaces |
| IssuesPlan and track work | https://github.com/features/issues |
| Code ReviewManage code changes | https://github.com/features/code-review |
| GitHub Advanced SecurityFind and fix vulnerabilities | https://github.com/security/advanced-security |
| Code securitySecure your code as you build | https://github.com/security/advanced-security/code-security |
| Secret protectionStop leaks before they start | https://github.com/security/advanced-security/secret-protection |
| Why GitHub | https://github.com/why-github |
| Documentation | https://docs.github.com |
| Blog | https://github.blog |
| Changelog | https://github.blog/changelog |
| Marketplace | https://github.com/marketplace |
| View all features | https://github.com/features |
| Enterprises | https://github.com/enterprise |
| Small and medium teams | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| App Modernization | https://github.com/solutions/use-case/app-modernization |
| DevSecOps | https://github.com/solutions/use-case/devsecops |
| DevOps | https://github.com/solutions/use-case/devops |
| CI/CD | https://github.com/solutions/use-case/ci-cd |
| View all use cases | https://github.com/solutions/use-case |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| View all industries | https://github.com/solutions/industry |
| View all solutions | https://github.com/solutions |
| AI | https://github.com/resources/articles?topic=ai |
| Software Development | https://github.com/resources/articles?topic=software-development |
| DevOps | https://github.com/resources/articles?topic=devops |
| Security | https://github.com/resources/articles?topic=security |
| View all topics | https://github.com/resources/articles |
| Customer stories | https://github.com/customer-stories |
| Events & webinars | https://github.com/resources/events |
| Ebooks & reports | https://github.com/resources/whitepapers |
| Business insights | https://github.com/solutions/executive-insights |
| GitHub Skills | https://skills.github.com |
| Documentation | https://docs.github.com |
| Customer support | https://support.github.com |
| Community forum | https://github.com/orgs/community/discussions |
| Trust center | https://github.com/trust-center |
| Partners | https://github.com/partners |
| View all resources | https://github.com/resources |
| GitHub SponsorsFund open source developers | https://github.com/open-source/sponsors |
| Security Lab | https://securitylab.github.com |
| Maintainer Community | https://maintainers.github.com |
| Accelerator | https://github.com/open-source/accelerator |
| GitHub Stars | https://stars.github.com |
| Archive Program | https://archiveprogram.github.com |
| Topics | https://github.com/topics |
| Trending | https://github.com/trending |
| Collections | https://github.com/collections |
| Enterprise platformAI-powered developer platform | https://github.com/enterprise |
| GitHub Advanced SecurityEnterprise-grade security features | https://github.com/security/advanced-security |
| Copilot for BusinessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/enterprise/premium-support |
| Pricing | https://github.com/pricing |
| Search syntax tips | https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax |
| documentation | https://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%2F5026%2Ffiles |
|
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%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=python%2Fcpython |
| Reload | https://github.com/python/cpython/pull/5026/files |
| Reload | https://github.com/python/cpython/pull/5026/files |
| Reload | https://github.com/python/cpython/pull/5026/files |
| Please reload this page | https://github.com/python/cpython/pull/5026/files |
|
python
| https://github.com/python |
| cpython | https://github.com/python/cpython |
| Please reload this page | https://github.com/python/cpython/pull/5026/files |
|
Notifications
| https://github.com/login?return_to=%2Fpython%2Fcpython |
|
Fork
35k
| https://github.com/login?return_to=%2Fpython%2Fcpython |
|
Star
73.8k
| 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 |
| Sign up for GitHub
| https://github.com/signup?return_to=%2Fpython%2Fcpython%2Fissues%2Fnew%2Fchoose |
| terms of service | https://docs.github.com/terms |
| privacy statement | https://docs.github.com/privacy |
| Sign in | https://github.com/login?return_to=%2Fpython%2Fcpython%2Fissues%2Fnew%2Fchoose |
| gpshead | https://github.com/gpshead |
| python:master | https://github.com/python/cpython/tree/master |
| gpshead:issue25942 | https://github.com/gpshead/cpython/tree/issue25942 |
|
Conversation
10
| https://github.com/python/cpython/pull/5026 |
|
Commits
9
| https://github.com/python/cpython/pull/5026/commits |
|
Checks
0
| https://github.com/python/cpython/pull/5026/checks |
|
Files changed
| https://github.com/python/cpython/pull/5026/files |
| Please reload this page | https://github.com/python/cpython/pull/5026/files |
|
bpo-25942: make subprocess more graceful on ^C
| https://github.com/python/cpython/pull/5026/files#top |
|
Show all changes
9 commits
| https://github.com/python/cpython/pull/5026/files |
|
84e68de
Don't SIGKILL children upon KeyboardInterrupt.
gpshead Dec 23, 2017
| https://github.com/python/cpython/pull/5026/commits/84e68dee9b1ce06b7e5efd6306f3686b25f9e956 |
|
4ee70f7
bpo-25942: subprocess is more graceful on SIGINT
gpshead Dec 28, 2017
| https://github.com/python/cpython/pull/5026/commits/4ee70f7c5c1ae7e02b00e2dcbbc5a636a50ca52b |
|
5190fe4
Mention the purpose of 0.125.
gpshead Dec 28, 2017
| https://github.com/python/cpython/pull/5026/commits/5190fe4779f6b4751d0966351abb945870dd3069 |
|
1c7cabb
remove some leftover unneeded new lines.
gpshead Dec 28, 2017
| https://github.com/python/cpython/pull/5026/commits/1c7cabb9ae0bf419406b15c6ee4530754cf7fcb0 |
|
3bd1021
correct a new comment in run
gpshead Dec 28, 2017
| https://github.com/python/cpython/pull/5026/commits/3bd102104355c8e953d17f24e29ba5e341e96f7b |
|
ba5235b
Add a NEWS entry
gpshead Dec 28, 2017
| https://github.com/python/cpython/pull/5026/commits/ba5235bcb825446afde241e14a356668a592e356 |
|
db44980
Simplify call and run logic.
gpshead Dec 28, 2017
| https://github.com/python/cpython/pull/5026/commits/db4498013ba30c4db09b46600bd708695cc8240a |
|
424de82
Change the arbitrary small delay to another.
gpshead Dec 28, 2017
| https://github.com/python/cpython/pull/5026/commits/424de820d1732e5602675f44b35f575d02527496 |
|
4acf172
clarify a couple of comments.
gpshead Jan 30, 2018
| https://github.com/python/cpython/pull/5026/commits/4acf172b234d4c26b85acdc97d83224d0acf7774 |
|
Clear filters
| https://github.com/python/cpython/pull/5026/files |
| Please reload this page | https://github.com/python/cpython/pull/5026/files |
| Please reload this page | https://github.com/python/cpython/pull/5026/files |
|
subprocess.py
| https://github.com/python/cpython/pull/5026/files#diff-619941af4b328b6abf2dc02c54e774fc17acc1ac4172c14db27d6097cbbff92a |
|
test_subprocess.py
| https://github.com/python/cpython/pull/5026/files#diff-5825be1d1a8e2c68a9321c3d4d04980a72bd4354e35e70bd2407e5e28460c782 |
|
2017-12-27-20-15-51.bpo-25942.Giyr8v.rst
| https://github.com/python/cpython/pull/5026/files#diff-d4067e99cd607734109e176adbc97888d167ef85d09eda46a611bdca5c7e5076 |
| Lib/subprocess.py | https://github.com/python/cpython/pull/5026/files#diff-619941af4b328b6abf2dc02c54e774fc17acc1ac4172c14db27d6097cbbff92a |
|
View file
| https://github.com/gpshead/cpython/blob/4acf172b234d4c26b85acdc97d83224d0acf7774/Lib/subprocess.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/5026/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/5026/files#diff-619941af4b328b6abf2dc02c54e774fc17acc1ac4172c14db27d6097cbbff92a |
|
| https://github.com/python/cpython/pull/5026/files#diff-619941af4b328b6abf2dc02c54e774fc17acc1ac4172c14db27d6097cbbff92a |
|
| https://github.com/python/cpython/pull/5026/files#diff-619941af4b328b6abf2dc02c54e774fc17acc1ac4172c14db27d6097cbbff92a |
|
| https://github.com/python/cpython/pull/5026/files#diff-619941af4b328b6abf2dc02c54e774fc17acc1ac4172c14db27d6097cbbff92a |
|
| https://github.com/python/cpython/pull/5026/files#diff-619941af4b328b6abf2dc02c54e774fc17acc1ac4172c14db27d6097cbbff92a |
| pitrou | https://github.com/pitrou |
| Dec 29, 2017 | https://github.com/python/cpython/pull/5026/files#r159067977 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| https://www.random.org/analysis/dilbert.jpg | https://www.random.org/analysis/dilbert.jpg |
| Please reload this page | https://github.com/python/cpython/pull/5026/files |
|
| https://github.com/python/cpython/pull/5026/files#diff-619941af4b328b6abf2dc02c54e774fc17acc1ac4172c14db27d6097cbbff92a |
|
| https://github.com/python/cpython/pull/5026/files#diff-619941af4b328b6abf2dc02c54e774fc17acc1ac4172c14db27d6097cbbff92a |
|
| https://github.com/python/cpython/pull/5026/files#diff-619941af4b328b6abf2dc02c54e774fc17acc1ac4172c14db27d6097cbbff92a |
| pitrou | https://github.com/pitrou |
| Dec 29, 2017 | https://github.com/python/cpython/pull/5026/files#r159068243 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python/cpython/pull/5026/files |
| gpshead | https://github.com/gpshead |
| Dec 29, 2017 | https://github.com/python/cpython/pull/5026/files#r159092310 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python/cpython/pull/5026/files |
| pitrou | https://github.com/pitrou |
| Dec 29, 2017 | https://github.com/python/cpython/pull/5026/files#r159093167 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python/cpython/pull/5026/files |
|
| https://github.com/python/cpython/pull/5026/files#diff-619941af4b328b6abf2dc02c54e774fc17acc1ac4172c14db27d6097cbbff92a |
|
| https://github.com/python/cpython/pull/5026/files#diff-619941af4b328b6abf2dc02c54e774fc17acc1ac4172c14db27d6097cbbff92a |
|
| https://github.com/python/cpython/pull/5026/files#diff-619941af4b328b6abf2dc02c54e774fc17acc1ac4172c14db27d6097cbbff92a |
|
| https://github.com/python/cpython/pull/5026/files#diff-619941af4b328b6abf2dc02c54e774fc17acc1ac4172c14db27d6097cbbff92a |
|
| https://github.com/python/cpython/pull/5026/files#diff-619941af4b328b6abf2dc02c54e774fc17acc1ac4172c14db27d6097cbbff92a |
|
| https://github.com/python/cpython/pull/5026/files#diff-619941af4b328b6abf2dc02c54e774fc17acc1ac4172c14db27d6097cbbff92a |
|
| https://github.com/python/cpython/pull/5026/files#diff-619941af4b328b6abf2dc02c54e774fc17acc1ac4172c14db27d6097cbbff92a |
|
| https://github.com/python/cpython/pull/5026/files#diff-619941af4b328b6abf2dc02c54e774fc17acc1ac4172c14db27d6097cbbff92a |
|
| https://github.com/python/cpython/pull/5026/files#diff-619941af4b328b6abf2dc02c54e774fc17acc1ac4172c14db27d6097cbbff92a |
|
| https://github.com/python/cpython/pull/5026/files#diff-619941af4b328b6abf2dc02c54e774fc17acc1ac4172c14db27d6097cbbff92a |
| Lib/test/test_subprocess.py | https://github.com/python/cpython/pull/5026/files#diff-5825be1d1a8e2c68a9321c3d4d04980a72bd4354e35e70bd2407e5e28460c782 |
|
View file
| https://github.com/gpshead/cpython/blob/4acf172b234d4c26b85acdc97d83224d0acf7774/Lib/test/test_subprocess.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/5026/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/5026/files#diff-5825be1d1a8e2c68a9321c3d4d04980a72bd4354e35e70bd2407e5e28460c782 |
|
| https://github.com/python/cpython/pull/5026/files#diff-5825be1d1a8e2c68a9321c3d4d04980a72bd4354e35e70bd2407e5e28460c782 |
| Misc/NEWS.d/next/Library/2017-12-27-20-15-51.bpo-25942.Giyr8v.rst | https://github.com/python/cpython/pull/5026/files#diff-d4067e99cd607734109e176adbc97888d167ef85d09eda46a611bdca5c7e5076 |
|
View file
| https://github.com/gpshead/cpython/blob/4acf172b234d4c26b85acdc97d83224d0acf7774/Misc/NEWS.d/next/Library/2017-12-27-20-15-51.bpo-25942.Giyr8v.rst |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/5026/{{ revealButtonHref }} |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |