| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:eb60af34-5a69-a07e-d294-207aa4b1fc10 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | D538:24BC9A:483D6CC:641D6B4:6A54EA0E |
| html-safe-nonce | 7f530f38d54487c70ffbe8524ef3999ef27982dddd6fe7aa583cbade41a2a302 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJENTM4OjI0QkM5QTo0ODNENkNDOjY0MUQ2QjQ6NkE1NEVBMEUiLCJ2aXNpdG9yX2lkIjoiNDk5NDY1NjQ4NTc4NTI2NjcwMiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | e71b9719891d99eb0f4fe8d73763f3360d044bf6e12f935dc78de6badb5f05bb |
| hovercard-subject-tag | pull_request:196583492 |
| 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/7850/files |
| twitter:image | https://avatars.githubusercontent.com/u/11718525?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/11718525?s=400&v=4 |
| og:image:alt | Fail test_semaphore_tracker_sigint if no warnings are expected and
one is received.
Fix race condition when the child receives SIGINT
before it can register signal handlers for it.
The race conditi... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | eae2aab99907699a22d2c8449aa683ca74454fca87211b98f7c7b722086b2839 |
| 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 | bb1b4ffdc07c66de20ad344214f55df0aa364bd3 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/python/cpython/pull/7850/files#start-of-content |
|
| https://github.com/ |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F7850%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%2F7850%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/7850/files |
| Reload | https://github.com/python/cpython/pull/7850/files |
| Reload | https://github.com/python/cpython/pull/7850/files |
| Please reload this page | https://github.com/python/cpython/pull/7850/files |
|
python
| https://github.com/python |
| cpython | https://github.com/python/cpython |
| Please reload this page | https://github.com/python/cpython/pull/7850/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 |
| pitrou | https://github.com/pitrou |
| python:master | https://github.com/python/cpython/tree/master |
| pablogsal:bpo33613 | https://github.com/pablogsal/cpython/tree/bpo33613 |
|
Conversation
84
| https://github.com/python/cpython/pull/7850 |
|
Commits
21
| https://github.com/python/cpython/pull/7850/commits |
|
Checks
0
| https://github.com/python/cpython/pull/7850/checks |
|
Files changed
| https://github.com/python/cpython/pull/7850/files |
| Please reload this page | https://github.com/python/cpython/pull/7850/files |
|
bpo-33613, test_semaphore_tracker_sigint: fix race condition
| https://github.com/python/cpython/pull/7850/files#top |
|
Show all changes
21 commits
| https://github.com/python/cpython/pull/7850/files |
|
5f1df08
bpo-33613, test_semaphore_tracker_sigint: fix race condition
pablogsal Jun 20, 2018
| https://github.com/python/cpython/pull/7850/commits/5f1df0887c1daefd137e66a90943d2afa292e8fb |
|
4f9babb
Implement PONG command in the semaphore tracker
pablogsal Jun 24, 2018
| https://github.com/python/cpython/pull/7850/commits/4f9babb13f980fd6e8420d38ce4471a1f355f1cf |
|
26d81a3
Ensure the tracker is killed to allow multiple testing runs in the sa…
pablogsal Jun 24, 2018
| https://github.com/python/cpython/pull/7850/commits/26d81a39959bb650364e755e30ec653f5b5b81ad |
|
a7d5c59
fixup! Ensure the tracker is killed to allow multiple testing runs in…
pablogsal Jul 1, 2018
| https://github.com/python/cpython/pull/7850/commits/a7d5c597c6c951e63289cb4b5a5efa526ad9f5c5 |
|
a735d49
fixup! fixup! Ensure the tracker is killed to allow multiple testing …
pablogsal Jul 7, 2018
| https://github.com/python/cpython/pull/7850/commits/a735d492b27dccedc69cd89e072d1a0ea7079f47 |
|
9460da4
fixup! fixup! fixup! Ensure the tracker is killed to allow multiple t…
pablogsal Jul 24, 2018
| https://github.com/python/cpython/pull/7850/commits/9460da4c04df77842ef84e61041886fc15960c69 |
|
fb136d0
Use a buffered writer to answer to the PING command
pablogsal Jul 24, 2018
| https://github.com/python/cpython/pull/7850/commits/fb136d004d65f416485c95e576ad67feb05f150b |
|
f3d0f0b
Use the tracker own stderr for answering the PING command
pablogsal Jul 24, 2018
| https://github.com/python/cpython/pull/7850/commits/f3d0f0bb72faa9df0806d662b9c80ff97d0c1856 |
|
f5e5cf9
Use pthread_sigmask to avoid the race condition
pablogsal Jul 27, 2018
| https://github.com/python/cpython/pull/7850/commits/f5e5cf904e640997dbb3bf5d7eaef3d7e850e790 |
|
4393021
Add comment explaining the race condition
pablogsal Jul 27, 2018
| https://github.com/python/cpython/pull/7850/commits/4393021fdf9737bea74813dcaf445b5a54014e2a |
|
d501f2f
Restore timeout and use os.waitpid
pablogsal Jul 31, 2018
| https://github.com/python/cpython/pull/7850/commits/d501f2fd97697ccad711e341f7ec0f0183c3b66e |
|
9e0243e
fixup! Restore timeout and use os.waitpid
pablogsal Jul 31, 2018
| https://github.com/python/cpython/pull/7850/commits/9e0243e169e8ec34b1c8917a0d5c9b1050989586 |
|
26e077b
Add News entry
pablogsal Jul 31, 2018
| https://github.com/python/cpython/pull/7850/commits/26e077bc00aaf0f7ebcecb206a3882dc41be0b47 |
|
a50912b
fixup! fixup! Restore timeout and use os.waitpid
pablogsal Jul 31, 2018
| https://github.com/python/cpython/pull/7850/commits/a50912b194a13cf665cfeab1162094bed4b4f4bf |
|
bcbb942
fixup! Add News entry
pablogsal Jul 31, 2018
| https://github.com/python/cpython/pull/7850/commits/bcbb94285ad0b640ee0a530e85d89a13a8966383 |
|
0b46f07
fixup! fixup! fixup! Restore timeout and use os.waitpid
pablogsal Aug 1, 2018
| https://github.com/python/cpython/pull/7850/commits/0b46f07ab0fc4f0d3323966609e1e6f92bf3c88a |
|
66ef7dc
Unregister sigmask if process fails to start
pablogsal Aug 3, 2018
| https://github.com/python/cpython/pull/7850/commits/66ef7dca4496868a8fe6b04b83ac288d6fb27180 |
|
f7d2d4d
Include the signal registering in the try block
pablogsal Sep 3, 2018
| https://github.com/python/cpython/pull/7850/commits/f7d2d4d454fa5aab0c994248f499153b4230f0be |
|
4a09fde
Simplify comment when handling ChildProcessError
pablogsal Sep 3, 2018
| https://github.com/python/cpython/pull/7850/commits/4a09fde6e64cd5608ca9e17c74b2baaf1050d181 |
|
c9f96c1
Eliminate hardcoded reference to the bug tracker url
pablogsal Sep 3, 2018
| https://github.com/python/cpython/pull/7850/commits/c9f96c1edcaadafd5a2039c876a05b4ec0bbbcda |
|
c0a088c
Remove extraneous NEWS file
pitrou Sep 4, 2018
| https://github.com/python/cpython/pull/7850/commits/c0a088c26ebb3ac7c9d7a1ebc8c99792f1f82dac |
|
Clear filters
| https://github.com/python/cpython/pull/7850/files |
| Please reload this page | https://github.com/python/cpython/pull/7850/files |
| Please reload this page | https://github.com/python/cpython/pull/7850/files |
|
semaphore_tracker.py
| https://github.com/python/cpython/pull/7850/files#diff-86209dc00f04cec9a8a9628a37b8d279cbed67f3f61dc142da6a6c7c7d74e729 |
|
_test_multiprocessing.py
| https://github.com/python/cpython/pull/7850/files#diff-c3db62f7c1928499afd71830c22c8bb8f56843a4533cecf69137973d73c489fc |
|
2018-07-31-23-33-06.bpo-33613.Cdnt0i.rst
| https://github.com/python/cpython/pull/7850/files#diff-a8db6b9d486fdedc2858c32a5136afa843070a69527ab60ee1ad580a8239906c |
| Lib/multiprocessing/semaphore_tracker.py | https://github.com/python/cpython/pull/7850/files#diff-86209dc00f04cec9a8a9628a37b8d279cbed67f3f61dc142da6a6c7c7d74e729 |
|
View file
| https://github.com/pablogsal/cpython/blob/c0a088c26ebb3ac7c9d7a1ebc8c99792f1f82dac/Lib/multiprocessing/semaphore_tracker.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/7850/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/7850/files#diff-86209dc00f04cec9a8a9628a37b8d279cbed67f3f61dc142da6a6c7c7d74e729 |
|
| https://github.com/python/cpython/pull/7850/files#diff-86209dc00f04cec9a8a9628a37b8d279cbed67f3f61dc142da6a6c7c7d74e729 |
|
| https://github.com/python/cpython/pull/7850/files#diff-86209dc00f04cec9a8a9628a37b8d279cbed67f3f61dc142da6a6c7c7d74e729 |
|
| https://github.com/python/cpython/pull/7850/files#diff-86209dc00f04cec9a8a9628a37b8d279cbed67f3f61dc142da6a6c7c7d74e729 |
|
| https://github.com/python/cpython/pull/7850/files#diff-86209dc00f04cec9a8a9628a37b8d279cbed67f3f61dc142da6a6c7c7d74e729 |
|
| https://github.com/python/cpython/pull/7850/files#diff-86209dc00f04cec9a8a9628a37b8d279cbed67f3f61dc142da6a6c7c7d74e729 |
| Lib/test/_test_multiprocessing.py | https://github.com/python/cpython/pull/7850/files#diff-c3db62f7c1928499afd71830c22c8bb8f56843a4533cecf69137973d73c489fc |
|
View file
| https://github.com/pablogsal/cpython/blob/c0a088c26ebb3ac7c9d7a1ebc8c99792f1f82dac/Lib/test/_test_multiprocessing.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/7850/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/7850/files#diff-c3db62f7c1928499afd71830c22c8bb8f56843a4533cecf69137973d73c489fc |
|
| https://github.com/python/cpython/pull/7850/files#diff-c3db62f7c1928499afd71830c22c8bb8f56843a4533cecf69137973d73c489fc |
|
| https://github.com/python/cpython/pull/7850/files#diff-c3db62f7c1928499afd71830c22c8bb8f56843a4533cecf69137973d73c489fc |
|
| https://github.com/python/cpython/pull/7850/files#diff-c3db62f7c1928499afd71830c22c8bb8f56843a4533cecf69137973d73c489fc |
| Please reload this page | https://github.com/python/cpython/pull/7850/files |
|
| https://github.com/python/cpython/pull/7850/files#diff-c3db62f7c1928499afd71830c22c8bb8f56843a4533cecf69137973d73c489fc |
| Misc/NEWS.d/next/Library/2018-07-31-23-33-06.bpo-33613.Cdnt0i.rst | https://github.com/python/cpython/pull/7850/files#diff-a8db6b9d486fdedc2858c32a5136afa843070a69527ab60ee1ad580a8239906c |
|
View file
| https://github.com/pablogsal/cpython/blob/c0a088c26ebb3ac7c9d7a1ebc8c99792f1f82dac/Misc/NEWS.d/next/Library/2018-07-31-23-33-06.bpo-33613.Cdnt0i.rst |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/7850/{{ 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 |