| route-pattern | /:user_id/:repository/pull/:id/commits/:range(.:format) |
| route-controller | pull_requests |
| route-action | commits |
| fetch-nonce | v2:15750e49-02f5-77d3-462d-a309cb0b3d47 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | BC60:342079:185816C:2245FE7:699724B7 |
| html-safe-nonce | f727b00161878fe9f8286b06dd03a94973e4d57aab16f817892eb0cdf961afc1 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCQzYwOjM0MjA3OToxODU4MTZDOjIyNDVGRTc6Njk5NzI0QjciLCJ2aXNpdG9yX2lkIjoiNDc2NDgwMjU0MDYwNDE3MTQ0NyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 083462c8df5e40d9c01b6b4469dfc44a8bfdf35f2759420032b39cae6e617d21 |
| hovercard-subject-tag | pull_request:1436248094 |
| 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/commits |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/python/cpython/pull/106807/commits/3b21d5c17018012f6990c6aa5d51aacc4be8545e |
| twitter:image | https://avatars.githubusercontent.com/u/20026896?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/20026896?s=400&v=4 |
| og:image:alt | Add tests to catch the resource leak bug in collectedDurations and verified that it fails without the fix
Show output
$ ./python -m unittest test.test_concurrent_futures.FailingInitializerResour... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 7e6af791057690a60ffd9f5bb19a1e7b7637429945357211e6d6d09f15f081ae |
| 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 |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | e6b01c3dc21c2addba0d96343ac1390c86c8bdfd |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/python/cpython/pull/106807/commits/3b21d5c17018012f6990c6aa5d51aacc4be8545e#start-of-content |
|
| https://github.com/ |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F106807%2Fcommits%2F3b21d5c17018012f6990c6aa5d51aacc4be8545e |
| GitHub CopilotWrite better code with AI | https://github.com/features/copilot |
| GitHub SparkBuild and deploy intelligent apps | https://github.com/features/spark |
| GitHub ModelsManage and compare prompts | https://github.com/features/models |
| 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 |
| GitHub SponsorsFund open source developers | https://github.com/sponsors |
| Security Lab | https://securitylab.github.com |
| Maintainer Community | https://maintainers.github.com |
| Accelerator | https://github.com/accelerator |
| 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/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%2F106807%2Fcommits%2F3b21d5c17018012f6990c6aa5d51aacc4be8545e |
|
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%2Fcommits&source=header-repo&source_repo=python%2Fcpython |
| Reload | https://github.com/python/cpython/pull/106807/commits/3b21d5c17018012f6990c6aa5d51aacc4be8545e |
| Reload | https://github.com/python/cpython/pull/106807/commits/3b21d5c17018012f6990c6aa5d51aacc4be8545e |
| Reload | https://github.com/python/cpython/pull/106807/commits/3b21d5c17018012f6990c6aa5d51aacc4be8545e |
|
python
| https://github.com/python |
| cpython | https://github.com/python/cpython |
| Please reload this page | https://github.com/python/cpython/pull/106807/commits/3b21d5c17018012f6990c6aa5d51aacc4be8545e |
|
Notifications
| https://github.com/login?return_to=%2Fpython%2Fcpython |
|
Fork
34.1k
| https://github.com/login?return_to=%2Fpython%2Fcpython |
|
Star
71.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.1k
| https://github.com/python/cpython/pulls |
|
Actions
| https://github.com/python/cpython/actions |
|
Projects
31
| https://github.com/python/cpython/projects |
|
Security
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
| 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 |
| bityob | https://github.com/bityob |
| python:main | https://github.com/python/cpython/tree/main |
| bityob:gh-104090-fix-leaked-semaphors-on-test_concurrent_futures-v2 | https://github.com/bityob/cpython/tree/gh-104090-fix-leaked-semaphors-on-test_concurrent_futures-v2 |
|
Conversation
41
| https://github.com/python/cpython/pull/106807 |
|
Commits
22
| https://github.com/python/cpython/pull/106807/commits |
|
Checks
0
| https://github.com/python/cpython/pull/106807/checks |
|
Files changed
| https://github.com/python/cpython/pull/106807/files |
| Please reload this page | https://github.com/python/cpython/pull/106807/commits/3b21d5c17018012f6990c6aa5d51aacc4be8545e |
|
gh-104090: Update Resource Tracker to return exit code based on resource leaked found or not
| https://github.com/python/cpython/pull/106807/commits/3b21d5c17018012f6990c6aa5d51aacc4be8545e#top |
|
Show all changes
22 commits
| https://github.com/python/cpython/pull/106807/files |
|
70a35a2
Updated Resource Tracker to return exit code based on leaking found o…
bityob Jul 16, 2023
| https://github.com/python/cpython/pull/106807/commits/70a35a2fe38dcae7d176ce200d9bf902cc4d7e4b |
|
da7e245
Add NEWS file
bityob Jul 16, 2023
| https://github.com/python/cpython/pull/106807/commits/da7e245cf0070495956a9ff3c3a21036f6c3cc16 |
|
1de022d
Use subTest for the parametrize the same tests with different values
bityob Jul 17, 2023
| https://github.com/python/cpython/pull/106807/commits/1de022d390734727c4a857a8d2ca3ad25e63afe6 |
|
48bea84
Merge branch 'main' into gh-104090-fix-leaked-semaphors-on-test_concu…
bityob Jul 17, 2023
| https://github.com/python/cpython/pull/106807/commits/48bea8412fcf44afd4e50103abd0af3066fa761a |
|
31bc4af
Updated tests based on PR comments, and fix the resource_tracker code…
bityob Jul 18, 2023
| https://github.com/python/cpython/pull/106807/commits/31bc4afae5994ee17d705f399523a52f160a7233 |
|
47551a3
Clean test
bityob Jul 18, 2023
| https://github.com/python/cpython/pull/106807/commits/47551a3014f98c905d9e587842fde27767b1b0f5 |
|
a02fdbe
Added comment for test and simplified the logic
bityob Jul 18, 2023
| https://github.com/python/cpython/pull/106807/commits/a02fdbe486c2038f0d838296f4d973d2024313fd |
|
9d0369e
Merge branch 'main' into gh-104090-fix-leaked-semaphors-on-test_concu…
bityob Jul 18, 2023
| https://github.com/python/cpython/pull/106807/commits/9d0369e18d80375baa5830422ef0e0116e7b5783 |
|
4dbb777
Fix tests and News based on PR comments
bityob Jul 18, 2023
| https://github.com/python/cpython/pull/106807/commits/4dbb777451a2d32542995769f61a94f09a8edf0e |
|
bfd1e8e
Added reseting the exit code when the process should run again
bityob Jul 18, 2023
| https://github.com/python/cpython/pull/106807/commits/bfd1e8ee65010040115d35611d01975596353fef |
|
043ae90
Added more clearing queue methods beside del (closing and calling gc.…
bityob Jul 18, 2023
| https://github.com/python/cpython/pull/106807/commits/043ae90b58f6f35ef36c0178849f2a0ccd25dd5b |
|
850b5bb
Merge branch 'main' into gh-104090-fix-leaked-semaphors-on-test_concu…
bityob Jul 18, 2023
| https://github.com/python/cpython/pull/106807/commits/850b5bb44c96533e5bc7c839935ca033a6391f52 |
|
6e82940
Merge branch 'main' into gh-104090-fix-leaked-semaphors-on-test_concu…
bityob Jul 19, 2023
| https://github.com/python/cpython/pull/106807/commits/6e829407850a08011a9d24e27e6fd09d01373665 |
|
a5cb934
Merge branch 'gh-104090-fix-leaked-semaphors-on-test_concurrent_futur…
bityob Jul 19, 2023
| https://github.com/python/cpython/pull/106807/commits/a5cb9347471efe17a4b467e0785883eff2e67fcd |
|
ccd736c
Merge branch 'main' into gh-104090-fix-leaked-semaphors-on-test_concu…
bityob Jul 20, 2023
| https://github.com/python/cpython/pull/106807/commits/ccd736c4113c9646156c9ab8649394b2a027c178 |
|
3b21d5c
Merge branch 'main' into gh-104090-fix-leaked-semaphors-on-test_concu…
bityob Jul 23, 2023
| https://github.com/python/cpython/pull/106807/commits/3b21d5c17018012f6990c6aa5d51aacc4be8545e |
|
fbd18ec
Merge main
bityob Aug 31, 2023
| https://github.com/python/cpython/pull/106807/commits/fbd18ec36c3a93ea471b7c543d15c298ee69e8f3 |
|
e258cb3
Moved FailingInitializerResourcesTest class from old path (Lib/test/t…
bityob Aug 31, 2023
| https://github.com/python/cpython/pull/106807/commits/e258cb3a99f428fe4575a7b66caaa498c35c44a5 |
|
5b886bf
Merge branch 'gh-104090-fix-leaked-semaphors-on-test_concurrent_futur…
bityob Aug 31, 2023
| https://github.com/python/cpython/pull/106807/commits/5b886bf01c597abcbe0dce6489aed1a589b3ec24 |
|
915c8a3
Added missing import
bityob Aug 31, 2023
| https://github.com/python/cpython/pull/106807/commits/915c8a397158f5fe397459334a1803fdf9166f6b |
|
cd377e6
Merge branch 'main' into gh-104090-fix-leaked-semaphors-on-test_concu…
pitrou Sep 19, 2023
| https://github.com/python/cpython/pull/106807/commits/cd377e691ab205c19abecf6d06480042dd63acf3 |
|
27245ec
Merge branch 'main' into gh-104090-fix-leaked-semaphors-on-test_concu…
encukou Feb 5, 2024
| https://github.com/python/cpython/pull/106807/commits/27245ec952f3cd932b10552bcee7bec7cc89e4e1 |
|
Clear filters
| https://github.com/python/cpython/pull/106807/commits/3b21d5c17018012f6990c6aa5d51aacc4be8545e |
| Please reload this page | https://github.com/python/cpython/pull/106807/commits/3b21d5c17018012f6990c6aa5d51aacc4be8545e |
| Please reload this page | https://github.com/python/cpython/pull/106807/commits/3b21d5c17018012f6990c6aa5d51aacc4be8545e |
|
Prev
| https://github.com/python/cpython/pull/106807/commits/ccd736c4113c9646156c9ab8649394b2a027c178 |
|
Next
| https://github.com/python/cpython/pull/106807/commits/fbd18ec36c3a93ea471b7c543d15c298ee69e8f3 |
| gh-104090 | https://github.com/python/cpython/issues/104090 |
| Please reload this page | https://github.com/python/cpython/pull/106807/commits/3b21d5c17018012f6990c6aa5d51aacc4be8545e |
|
| https://github.com/bityob |
| bityob | https://github.com/python/cpython/commits?author=bityob |
| view the diff. | https://github.com/python/cpython/commit/3b21d5c17018012f6990c6aa5d51aacc4be8545e |
|
| 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 |