| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:3a445f64-d056-d485-4965-ddfb7675095f |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | E13E:3E7C6:36EE1E:4A89C9:6A514136 |
| html-safe-nonce | 7ac2ae08a81484526d2d67bc00896534432d5247851cd7054687d792f56955ba |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFMTNFOjNFN0M2OjM2RUUxRTo0QTg5Qzk6NkE1MTQxMzYiLCJ2aXNpdG9yX2lkIjoiMzAzMDI5Mjk1NjA0MzEwMDQ3MCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | fbf9f29109632f70759a448b23349b14e40c743420e4034b4ec58dc02c8cdc3f |
| hovercard-subject-tag | pull_request:277494385 |
| 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/13222/files |
| twitter:image | https://avatars.githubusercontent.com/u/18555600?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/18555600?s=400&v=4 |
| og:image:alt | Primary Purpose
This PR proposes to extend the semaphore_tracker range of action to other system resources.
Currently in python3.8, if a process that created a shared_memory object gets violently ... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | e840f405b2718e8f2d55aafa9ff27dbce17e29d0c253011d05ea0fea3c78baff |
| 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 | e876f00c5723f6080b9d294e4958fd4d506e6faf |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/python/cpython/pull/13222/files#start-of-content |
|
| https://github.com/ |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F13222%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%2F13222%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/13222/files |
| Reload | https://github.com/python/cpython/pull/13222/files |
| Reload | https://github.com/python/cpython/pull/13222/files |
| Please reload this page | https://github.com/python/cpython/pull/13222/files |
|
python
| https://github.com/python |
| cpython | https://github.com/python/cpython |
| Please reload this page | https://github.com/python/cpython/pull/13222/files |
|
Notifications
| https://github.com/login?return_to=%2Fpython%2Fcpython |
|
Fork
35k
| https://github.com/login?return_to=%2Fpython%2Fcpython |
|
Star
73.7k
| 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 |
| pierreglaser:resource-tracker | https://github.com/pierreglaser/cpython/tree/resource-tracker |
|
Conversation
21
| https://github.com/python/cpython/pull/13222 |
|
Commits
20
| https://github.com/python/cpython/pull/13222/commits |
|
Checks
0
| https://github.com/python/cpython/pull/13222/checks |
|
Files changed
| https://github.com/python/cpython/pull/13222/files |
| Please reload this page | https://github.com/python/cpython/pull/13222/files |
|
bpo-36867: Make semaphore_tracker track other system resources.
| https://github.com/python/cpython/pull/13222/files#top |
|
Show all changes
20 commits
| https://github.com/python/cpython/pull/13222/files |
|
ff7ccd7
MNT refactor semaphore_tracker -> resource_tracker
pierreglaser May 9, 2019
| https://github.com/python/cpython/pull/13222/commits/ff7ccd77b68567a0205c3b75de60924d06107fb4 |
|
24396f4
DOC adjust module level introduction commment
pierreglaser May 9, 2019
| https://github.com/python/cpython/pull/13222/commits/24396f4824251c4094b5a651f13b0ed491f61c4c |
|
d6c1ae5
ENH extend ResourceTracker to arbitrary resources
pierreglaser May 9, 2019
| https://github.com/python/cpython/pull/13222/commits/d6c1ae51d940e8e521521a550631a72e2c50ce03 |
|
c0eeec9
CLN fixup
pierreglaser May 9, 2019
| https://github.com/python/cpython/pull/13222/commits/c0eeec98569447222eebe0dd7a768e1dcf0d6ce6 |
|
7ec1276
TST resource_tracker for all resource types
pierreglaser May 9, 2019
| https://github.com/python/cpython/pull/13222/commits/7ec1276547b2156f789b4e46ba283ece0fef1fc5 |
|
fc32d11
ENH track shared memory segments
pierreglaser May 9, 2019
| https://github.com/python/cpython/pull/13222/commits/fc32d116f247e31e33ff36914be993431efb04e9 |
|
add3b91
CLN surround posix-only imports and functions
pierreglaser May 9, 2019
| https://github.com/python/cpython/pull/13222/commits/add3b919273cb4104f690b1f500827fbc1451ec3 |
|
d1c7f0e
CLN stale comment
pierreglaser May 9, 2019
| https://github.com/python/cpython/pull/13222/commits/d1c7f0e39b235c282e090e9fcb3eb34d7cce39eb |
|
a2a0d55
📜🤖 Added by blurb_it.
blurb-it[bot] May 9, 2019
| https://github.com/python/cpython/pull/13222/commits/a2a0d5569454bbc5496ca4ca30f478f10f719d39 |
|
bb818d2
FIX remove Finalizers for shared_memory
pierreglaser May 9, 2019
| https://github.com/python/cpython/pull/13222/commits/bb818d2d13793a2c7c561769745f6407fdc180b5 |
|
52f21c1
CLN unused import
pierreglaser May 9, 2019
| https://github.com/python/cpython/pull/13222/commits/52f21c1f8fd83c12507ff8934b36287766fe9d3a |
|
0837e09
CLN improve SemaphoreTracker messages
pierreglaser May 10, 2019
| https://github.com/python/cpython/pull/13222/commits/0837e0965e81d8002d8c616a27ea7df731d41a95 |
|
1d7ecdb
CLN typo
pierreglaser May 10, 2019
| https://github.com/python/cpython/pull/13222/commits/1d7ecdb2f925a6b43640ee537205b28796559d94 |
|
33c865f
CLN do not enable folder tracking, cleaner PROBE
pierreglaser May 10, 2019
| https://github.com/python/cpython/pull/13222/commits/33c865f74b0795706bb98a32c026cb11681687a0 |
|
c211357
CLN stale code, use f-strings
pierreglaser May 10, 2019
| https://github.com/python/cpython/pull/13222/commits/c211357e11bc1afe8ff90b6b6b0ace23e54f275d |
|
c9cfac5
TST test end to end shared-memory cleanup
pierreglaser May 10, 2019
| https://github.com/python/cpython/pull/13222/commits/c9cfac5497a2016b584350661c2bffb5403e6289 |
|
1c5341a
DOC more comments
pierreglaser May 10, 2019
| https://github.com/python/cpython/pull/13222/commits/1c5341abcee3bab31d3f67676d69f9d8e0fe971a |
|
907ffb9
CLN simplifications
pierreglaser May 10, 2019
| https://github.com/python/cpython/pull/13222/commits/907ffb9a3a218b8a9582042ab82f446c8f6bb78d |
|
a2822a5
CLN rename test
pierreglaser May 10, 2019
| https://github.com/python/cpython/pull/13222/commits/a2822a5d1a59340f0a614ccf4481e3b660c572d8 |
|
a774473
Merge pull request #3 from pierreglaser/end-to-end-shared-memory-test
pierreglaser May 10, 2019
| https://github.com/python/cpython/pull/13222/commits/a77447309f63aaed1acb1a4937ddfc2551c2b766 |
|
Clear filters
| https://github.com/python/cpython/pull/13222/files |
| Please reload this page | https://github.com/python/cpython/pull/13222/files |
| Please reload this page | https://github.com/python/cpython/pull/13222/files |
|
forkserver.py
| https://github.com/python/cpython/pull/13222/files#diff-8d5185659419cdf73e93f59cf3941dfe1c523d9e1310e349b4d4afe3b63cb66d |
|
popen_spawn_posix.py
| https://github.com/python/cpython/pull/13222/files#diff-5f06efa6433d283b73277f6f102c8a0a0feac951e71c72f952a89cbfcd21413d |
|
resource_tracker.py
| https://github.com/python/cpython/pull/13222/files#diff-4f8ba5461d41bcd179f808273f136ee8b20ec571940c457c3559fffc94375b71 |
|
shared_memory.py
| https://github.com/python/cpython/pull/13222/files#diff-79663aed87ea0a8bbe1009dd0438f8526282b5ecfc3b6eec4757bcd79b76531b |
|
spawn.py
| https://github.com/python/cpython/pull/13222/files#diff-3612bea8104783e1f08635ddc3244cdde48e5b3b1339d4357abe5b78807834bc |
|
synchronize.py
| https://github.com/python/cpython/pull/13222/files#diff-2e2ccdb4fbe28ed5937bf6749cbdb0f4ea37f29ab6f8dbb4abd898f2c8ae7618 |
|
_test_multiprocessing.py
| https://github.com/python/cpython/pull/13222/files#diff-c3db62f7c1928499afd71830c22c8bb8f56843a4533cecf69137973d73c489fc |
|
2019-05-09-18-12-55.bpo-36867.FuwVTi.rst
| https://github.com/python/cpython/pull/13222/files#diff-20a4e9e0437ab5ace9ad671f78b8e3a668cbad6a69bb8f6583a87a0bcf435794 |
|
lib.pyproj
| https://github.com/python/cpython/pull/13222/files#diff-8b264d5a3d562fe10f3e28a59a223e1e74938149b065b666603bd05fddb1250b |
| Lib/multiprocessing/forkserver.py | https://github.com/python/cpython/pull/13222/files#diff-8d5185659419cdf73e93f59cf3941dfe1c523d9e1310e349b4d4afe3b63cb66d |
|
View file
| https://github.com/pierreglaser/cpython/blob/a77447309f63aaed1acb1a4937ddfc2551c2b766/Lib/multiprocessing/forkserver.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/13222/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/13222/files#diff-8d5185659419cdf73e93f59cf3941dfe1c523d9e1310e349b4d4afe3b63cb66d |
|
| https://github.com/python/cpython/pull/13222/files#diff-8d5185659419cdf73e93f59cf3941dfe1c523d9e1310e349b4d4afe3b63cb66d |
|
| https://github.com/python/cpython/pull/13222/files#diff-8d5185659419cdf73e93f59cf3941dfe1c523d9e1310e349b4d4afe3b63cb66d |
|
| https://github.com/python/cpython/pull/13222/files#diff-8d5185659419cdf73e93f59cf3941dfe1c523d9e1310e349b4d4afe3b63cb66d |
|
| https://github.com/python/cpython/pull/13222/files#diff-8d5185659419cdf73e93f59cf3941dfe1c523d9e1310e349b4d4afe3b63cb66d |
|
| https://github.com/python/cpython/pull/13222/files#diff-8d5185659419cdf73e93f59cf3941dfe1c523d9e1310e349b4d4afe3b63cb66d |
|
| https://github.com/python/cpython/pull/13222/files#diff-8d5185659419cdf73e93f59cf3941dfe1c523d9e1310e349b4d4afe3b63cb66d |
| Lib/multiprocessing/popen_spawn_posix.py | https://github.com/python/cpython/pull/13222/files#diff-5f06efa6433d283b73277f6f102c8a0a0feac951e71c72f952a89cbfcd21413d |
|
View file
| https://github.com/pierreglaser/cpython/blob/a77447309f63aaed1acb1a4937ddfc2551c2b766/Lib/multiprocessing/popen_spawn_posix.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/13222/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/13222/files#diff-5f06efa6433d283b73277f6f102c8a0a0feac951e71c72f952a89cbfcd21413d |
|
| https://github.com/python/cpython/pull/13222/files#diff-5f06efa6433d283b73277f6f102c8a0a0feac951e71c72f952a89cbfcd21413d |
| Lib/multiprocessing/semaphore_tracker.py → Lib/multiprocessing/resource_tracker.py | https://github.com/python/cpython/pull/13222/files#diff-4f8ba5461d41bcd179f808273f136ee8b20ec571940c457c3559fffc94375b71 |
|
View file
| https://github.com/pierreglaser/cpython/blob/a77447309f63aaed1acb1a4937ddfc2551c2b766/Lib/multiprocessing/resource_tracker.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/13222/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/13222/files#diff-4f8ba5461d41bcd179f808273f136ee8b20ec571940c457c3559fffc94375b71 |
|
| https://github.com/python/cpython/pull/13222/files#diff-4f8ba5461d41bcd179f808273f136ee8b20ec571940c457c3559fffc94375b71 |
|
| https://github.com/python/cpython/pull/13222/files#diff-4f8ba5461d41bcd179f808273f136ee8b20ec571940c457c3559fffc94375b71 |
|
| https://github.com/python/cpython/pull/13222/files#diff-4f8ba5461d41bcd179f808273f136ee8b20ec571940c457c3559fffc94375b71 |
|
| https://github.com/python/cpython/pull/13222/files#diff-4f8ba5461d41bcd179f808273f136ee8b20ec571940c457c3559fffc94375b71 |
|
| https://github.com/python/cpython/pull/13222/files#diff-4f8ba5461d41bcd179f808273f136ee8b20ec571940c457c3559fffc94375b71 |
|
| https://github.com/python/cpython/pull/13222/files#diff-4f8ba5461d41bcd179f808273f136ee8b20ec571940c457c3559fffc94375b71 |
|
| https://github.com/python/cpython/pull/13222/files#diff-4f8ba5461d41bcd179f808273f136ee8b20ec571940c457c3559fffc94375b71 |
| Lib/multiprocessing/shared_memory.py | https://github.com/python/cpython/pull/13222/files#diff-79663aed87ea0a8bbe1009dd0438f8526282b5ecfc3b6eec4757bcd79b76531b |
|
View file
| https://github.com/pierreglaser/cpython/blob/a77447309f63aaed1acb1a4937ddfc2551c2b766/Lib/multiprocessing/shared_memory.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/13222/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/13222/files#diff-79663aed87ea0a8bbe1009dd0438f8526282b5ecfc3b6eec4757bcd79b76531b |
|
| https://github.com/python/cpython/pull/13222/files#diff-79663aed87ea0a8bbe1009dd0438f8526282b5ecfc3b6eec4757bcd79b76531b |
|
| https://github.com/python/cpython/pull/13222/files#diff-79663aed87ea0a8bbe1009dd0438f8526282b5ecfc3b6eec4757bcd79b76531b |
|
| https://github.com/python/cpython/pull/13222/files#diff-79663aed87ea0a8bbe1009dd0438f8526282b5ecfc3b6eec4757bcd79b76531b |
| Lib/multiprocessing/spawn.py | https://github.com/python/cpython/pull/13222/files#diff-3612bea8104783e1f08635ddc3244cdde48e5b3b1339d4357abe5b78807834bc |
|
View file
| https://github.com/pierreglaser/cpython/blob/a77447309f63aaed1acb1a4937ddfc2551c2b766/Lib/multiprocessing/spawn.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/13222/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/13222/files#diff-3612bea8104783e1f08635ddc3244cdde48e5b3b1339d4357abe5b78807834bc |
|
| https://github.com/python/cpython/pull/13222/files#diff-3612bea8104783e1f08635ddc3244cdde48e5b3b1339d4357abe5b78807834bc |
| Lib/multiprocessing/synchronize.py | https://github.com/python/cpython/pull/13222/files#diff-2e2ccdb4fbe28ed5937bf6749cbdb0f4ea37f29ab6f8dbb4abd898f2c8ae7618 |
|
View file
| https://github.com/pierreglaser/cpython/blob/a77447309f63aaed1acb1a4937ddfc2551c2b766/Lib/multiprocessing/synchronize.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/13222/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/13222/files#diff-2e2ccdb4fbe28ed5937bf6749cbdb0f4ea37f29ab6f8dbb4abd898f2c8ae7618 |
|
| https://github.com/python/cpython/pull/13222/files#diff-2e2ccdb4fbe28ed5937bf6749cbdb0f4ea37f29ab6f8dbb4abd898f2c8ae7618 |
| Please reload this page | https://github.com/python/cpython/pull/13222/files |
|
| 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 |