| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format) |
| route-controller | voltron_pull_requests_fragments |
| route-action | pull_request_layout |
| fetch-nonce | v2:e65bd781-3c1b-324d-7ff4-87af2f319ee3 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 907E:3AD124:CA0F0E:10558CE:6B06409A |
| html-safe-nonce | 4b693eaf71177467090f84cd2831fa5dd7a1d817da33dbb5c378739b392e7433 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5MDdFOjNBRDEyNDpDQTBGMEU6MTA1NThDRTo2QjA2NDA5QSIsInZpc2l0b3JfaWQiOiI0MzY4NzU2MDkwMDcxMzAyMjk4IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | b2fda7675d00dbe15f2568d8372363c19c046aa67c57a07a57e07e2f521ca8ef |
| hovercard-subject-tag | pull_request:5462227991 |
| 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 | ///voltron/pull_requests_fragments/pull_request_layout |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/python/cpython/162510/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/c7a99855cadcc6f376b54d59d10dd422cb616cdb2fb51fb7bcd2a777472e89f7/python/cpython/pull/162510 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/c7a99855cadcc6f376b54d59d10dd422cb616cdb2fb51fb7bcd2a777472e89f7/python/cpython/pull/162510 |
| og:image:alt | Fixes #149452
Issue: os.process_cpu_count() should take cgroups CPU limitations into account (on Linux) #149452 |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | itamarst |
| hostname | github.com |
| expected-hostname | github.com |
| None | 1bff4f6bfaa96dc9c42cacf315424c24ebb548b06142ced5e3aaccb2a42dd652 |
| turbo-cache-control | no-cache |
| 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 | ac613d3698d3d8565651455086e1f74da07bf277 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | pull-requests |
| Skip to content | https://github.com/python/cpython/pull/162510#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F162510 |
| GitHubRepository hosting, code review, and collaboration | https://github.com/platform |
| CopilotAI coding agent for tasks, projects, and automated work | https://github.com/features/copilot |
| ActionsCI/CD and automation | https://github.com/features/actions |
| Code QualityQuality analysis, fixes, and enforcement | https://github.com/features/code-quality |
| CodespacesCloud development environments | https://github.com/features/codespaces |
| Code SecurityVulnerability detection and remediation | https://github.com/security/advanced-security/code-security |
| Secret ProtectionSecret scanning and leak prevention | https://github.com/security/advanced-security/secret-protection |
| All Features | https://github.com/features |
| Documentation | https://docs.github.com/en |
| Training | https://learn.github.com/skills |
| Certifications | https://learn.github.com/credentials |
| Build with Copilot | https://github.com/features/ai |
| Customize Copilot | https://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview |
| Integrations | https://github.com/marketplace |
| Trending repos | https://github.com/trending |
| GitHub Sponsors | https://github.com/open-source/sponsors |
| Developer articles | https://github.com/resources/articles |
| ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place. | https://github.blog/changelog/ |
| Enterprises | https://github.com/enterprise |
| Team | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| 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 |
| See all industries | https://github.com/solutions/industry |
| Why GitHub | https://github.com/why-github |
| Customer Stories | https://github.com/customer-stories |
| Business insights | https://github.com/solutions/executive-insights |
| Trust Center | https://github.com/trust-center |
| GitHub Advanced SecurityEnterprise-grade code security | 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 |
| Documentation | https://docs.github.com/en |
| Resource center | https://github.com/resources |
| Blog | https://github.blog/ |
| Events & webinars | https://github.com/resources/events |
| Community Forum | https://github.com/orgs/community/discussions |
| Customer Stories | https://github.com/customer-stories |
| Integrations | https://github.com/marketplace |
| Customer support | https://help.github.com/ |
| Training | https://learn.github.com/skills |
| GitHub Status | https://www.githubstatus.com/ |
| About | https://github.com/about |
| Partners | https://github.com/partners |
| Changelog | https://github.blog/changelog/ |
| GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub. | https://githubuniverse.com/ |
| Pricing | https://github.com/pricing |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F162510 |
| 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 |
| Reload | https://github.com/python/cpython/pull/162510 |
| Reload | https://github.com/python/cpython/pull/162510 |
| Reload | https://github.com/python/cpython/pull/162510 |
| python | https://github.com/python |
| cpython | https://github.com/python/cpython |
| Code | https://github.com/python/cpython |
| Issues5k+ (5k+) | https://github.com/python/cpython/issues |
| Pull requests2.4k (2.4k) | 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/insights |
| https://github.com/python/cpython |
| itamarst | https://github.com/itamarst |
| python:main | https://github.com/python/cpython/tree/main |
| itamarst:149452-cgroups-process_count | https://github.com/itamarst/cpython/tree/149452-cgroups-process_count |
| Conversation | https://github.com/python/cpython/pull/162510 |
| Commits17 (17) | https://github.com/python/cpython/pull/162510/commits |
| Checks | https://github.com/python/cpython/pull/162510/checks |
| Files changed | https://github.com/python/cpython/pull/162510/files |
| gh-149452: os.process_cpu_count() now respects cgroups | https://github.com/python/cpython/pull/162510#top |
| itamarst | https://github.com/itamarst |
| python:main | https://github.com/python/cpython/tree/main |
| itamarst:149452-cgroups-process_count | https://github.com/itamarst/cpython/tree/149452-cgroups-process_count |
|
| https://github.com/itamarst |
| itamarst | https://github.com/itamarst |
| Nov 23, 2026 | https://github.com/python/cpython/pull/162510#issue-6570015890 |
| Please reload this page | https://github.com/python/cpython/pull/162510 |
| #149452 | https://github.com/python/cpython/issues/149452 |
| os.process_cpu_count() should take cgroups CPU limitations into account (on Linux) #149452 | https://github.com/python/cpython/issues/149452 |
| Please reload this page | https://github.com/python/cpython/pull/162510 |
| itamarst | https://github.com/itamarst |
| November 23, 2026 14:37 | https://github.com/python/cpython/pull/162510#commits-pushed-9cc6993 |
|
| https://github.com/itamarst |
| Preliminary test for respecting cgroups in process_cpu_count() | https://github.com/python/cpython/pull/162510/commits/9cc699320222512df8ab62e33b3607d3bf8df190 |
| 9cc6993 | https://github.com/python/cpython/pull/162510/commits/9cc699320222512df8ab62e33b3607d3bf8df190 |
|
| https://github.com/itamarst |
| Sketch of cgroups implementation for process_cpu_count() | https://github.com/python/cpython/pull/162510/commits/b32eb6119233c5255153323b0f885aa14ac2884f |
| b32eb61 | https://github.com/python/cpython/pull/162510/commits/b32eb6119233c5255153323b0f885aa14ac2884f |
|
| https://github.com/itamarst |
| Extend testing | https://github.com/python/cpython/pull/162510/commits/5e5e3f3b26276aa17a233416d93af4aab0017696 |
| 5e5e3f3 | https://github.com/python/cpython/pull/162510/commits/5e5e3f3b26276aa17a233416d93af4aab0017696 |
|
| https://github.com/itamarst |
| Documentation | https://github.com/python/cpython/pull/162510/commits/4b4fef767d7dbd0a150809812fc48a013473bbb7 |
| 4b4fef7 | https://github.com/python/cpython/pull/162510/commits/4b4fef767d7dbd0a150809812fc48a013473bbb7 |
|
| https://github.com/itamarst |
| Add changelog entry | https://github.com/python/cpython/pull/162510/commits/d87dc8f2c45c0de406fb6605f12b3bf73d64a2ba |
| d87dc8f | https://github.com/python/cpython/pull/162510/commits/d87dc8f2c45c0de406fb6605f12b3bf73d64a2ba |
|
| https://github.com/itamarst |
| Edits | https://github.com/python/cpython/pull/162510/commits/c087aaa0c530824e5c510494ce336aed0b19690f |
| c087aaa | https://github.com/python/cpython/pull/162510/commits/c087aaa0c530824e5c510494ce336aed0b19690f |
|
| https://github.com/itamarst |
| Wrap | https://github.com/python/cpython/pull/162510/commits/aed27cde4cb986e4db95dda5e65cc27d54d8ef03 |
| aed27cd | https://github.com/python/cpython/pull/162510/commits/aed27cde4cb986e4db95dda5e65cc27d54d8ef03 |
| https://github.com/apps/python-cla-bot |
| python-cla-bot | https://github.com/apps/python-cla-bot |
| Nov 23, 2026 | https://github.com/python/cpython/pull/162510#issuecomment-7115637609 |
| Please reload this page | https://github.com/python/cpython/pull/162510 |
| https://cla.python.org/ |
| Please reload this page | https://github.com/python/cpython/pull/162510 |
| https://github.com/apps/bedevere-app |
| bedevere-app | https://github.com/apps/bedevere-app |
|
type-feature
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3Atype-feature |
| Nov 23, 2026 | https://github.com/python/cpython/pull/162510#event-37064879067 |
| https://github.com/apps/bedevere-app |
| bedevere-app | https://github.com/apps/bedevere-app |
|
Nov 23, 2026
| https://github.com/python/cpython/pull/162510#ref-issue-4391156528 |
|
os.process_cpu_count() should take cgroups CPU limitations into account (on Linux)
#149452
| https://github.com/python/cpython/issues/149452 |
| https://github.com/apps/read-the-docs-community |
| read-the-docs-community | https://github.com/apps/read-the-docs-community |
| Nov 23, 2026 | https://github.com/python/cpython/pull/162510#issuecomment-7115700106 |
| Please reload this page | https://github.com/python/cpython/pull/162510 |
| cpython-previews | https://app.readthedocs.org/projects/cpython-previews/ |
| #36140243 | https://app.readthedocs.org/projects/cpython-previews/builds/36140243/ |
| d47c4dc | https://github.com/python/cpython/commit/d47c4dcf17dc5f9b63be9b0b7262dc2861860445 |
| main | https://cpython-previews.readthedocs.io/en/main/ |
| 1590d78 | https://github.com/python/cpython/commit/1590d78fc37ce88435cc0522f928861e6586bc25 |
| 🔍 Preview build | https://cpython-previews--162510.org.readthedocs.build/en/162510/ |
| library/curses.html | https://cpython-previews--162510.org.readthedocs.build/en/162510/library/curses.html |
| library/os.html | https://cpython-previews--162510.org.readthedocs.build/en/162510/library/os.html |
| library/platform.html | https://cpython-previews--162510.org.readthedocs.build/en/162510/library/platform.html |
| library/runpy.html | https://cpython-previews--162510.org.readthedocs.build/en/162510/library/runpy.html |
| library/subprocess.html | https://cpython-previews--162510.org.readthedocs.build/en/162510/library/subprocess.html |
| library/sys.html | https://cpython-previews--162510.org.readthedocs.build/en/162510/library/sys.html |
| library/tkinter.html | https://cpython-previews--162510.org.readthedocs.build/en/162510/library/tkinter.html |
| library/urllib.error.html | https://cpython-previews--162510.org.readthedocs.build/en/162510/library/urllib.error.html |
| library/urllib.request.html | https://cpython-previews--162510.org.readthedocs.build/en/162510/library/urllib.request.html |
| library/xml.dom.minidom.html | https://cpython-previews--162510.org.readthedocs.build/en/162510/library/xml.dom.minidom.html |
| Please reload this page | https://github.com/python/cpython/pull/162510 |
| https://github.com/vstinner |
| vstinner | https://github.com/vstinner |
|
Nov 24, 2026
| https://github.com/python/cpython/pull/162510#ref-pullrequest-6311305971 |
|
system, check: warn when a benchmark ran under a cgroup CPU quota
psf/pyperf#277
| https://github.com/psf/pyperf/pull/277 |
| https://github.com/picnixz |
| picnixz | https://github.com/picnixz |
|
Nov 24, 2026
| https://github.com/python/cpython/pull/162510#pullrequestreview-6038494834 |
|
View reviewed changes
| https://github.com/python/cpython/pull/162510/files/aed27cde4cb986e4db95dda5e65cc27d54d8ef03 |
| picnixz | https://github.com/picnixz |
| Please reload this page | https://github.com/python/cpython/pull/162510 |
| https://github.com/python/cpython/pull/162510#pullrequestreview-6038494834 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python/cpython/pull/162510 |
| Lib/os.py | https://github.com/python/cpython/pull/162510/files/aed27cde4cb986e4db95dda5e65cc27d54d8ef03#diff-d2e8ad2f4746ac5fb230fa5a7345fd4332c56818489a2246472d38893aa82431 |
| Please reload this page | https://github.com/python/cpython/pull/162510 |
| Lib/os.py | https://github.com/python/cpython/pull/162510/files/aed27cde4cb986e4db95dda5e65cc27d54d8ef03#diff-d2e8ad2f4746ac5fb230fa5a7345fd4332c56818489a2246472d38893aa82431 |
| Please reload this page | https://github.com/python/cpython/pull/162510 |
| Lib/os.py | https://github.com/python/cpython/pull/162510/files/aed27cde4cb986e4db95dda5e65cc27d54d8ef03#diff-d2e8ad2f4746ac5fb230fa5a7345fd4332c56818489a2246472d38893aa82431 |
| Please reload this page | https://github.com/python/cpython/pull/162510 |
| Lib/os.py | https://github.com/python/cpython/pull/162510/files/aed27cde4cb986e4db95dda5e65cc27d54d8ef03#diff-d2e8ad2f4746ac5fb230fa5a7345fd4332c56818489a2246472d38893aa82431 |
| Please reload this page | https://github.com/python/cpython/pull/162510 |
| Doc/library/os.rst | https://github.com/python/cpython/pull/162510/files/aed27cde4cb986e4db95dda5e65cc27d54d8ef03#diff-cd9132e5234678864807ae34a75c5d4d6b894b31c327a4d3620fbd0c37eec16e |
| Please reload this page | https://github.com/python/cpython/pull/162510 |
| Lib/test/test_os/test_os.py | https://github.com/python/cpython/pull/162510/files/aed27cde4cb986e4db95dda5e65cc27d54d8ef03#diff-0c3c0e7d77a166e9089c5ddcc9d2db7c4fab9528044dec1fda4b3a6be569f784 |
| picnixz | https://github.com/picnixz |
| Nov 24, 2026 | https://github.com/python/cpython/pull/162510#discussion_r4679482980 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python/cpython/pull/162510 |
| itamarst | https://github.com/itamarst |
| Nov 24, 2026 | https://github.com/python/cpython/pull/162510#discussion_r4682300056 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| https://www.freedesktop.org/software/systemd/man/latest/systemd.scope.html | https://www.freedesktop.org/software/systemd/man/latest/systemd.scope.html |
| Please reload this page | https://github.com/python/cpython/pull/162510 |
| picnixz | https://github.com/picnixz |
| Nov 24, 2026 | https://github.com/python/cpython/pull/162510#discussion_r4682477693 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python/cpython/pull/162510 |
| itamarst | https://github.com/itamarst |
| Nov 24, 2026 | https://github.com/python/cpython/pull/162510#discussion_r4683650018 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python/cpython/pull/162510 |
| vstinner | https://github.com/vstinner |
| Nov 24, 2026 | https://github.com/python/cpython/pull/162510#discussion_r4684020330 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python/cpython/pull/162510 |
| itamarst | https://github.com/itamarst |
| Nov 24, 2026 | https://github.com/python/cpython/pull/162510#discussion_r4684965532 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python/cpython/pull/162510 |
| https://github.com/apps/bedevere-app |
| bedevere-app | https://github.com/apps/bedevere-app |
|
awaiting changes
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20changes%22 |
| Nov 24, 2026 | https://github.com/python/cpython/pull/162510#event-37123874139 |
| https://github.com/apps/bedevere-app |
| bedevere-app | https://github.com/apps/bedevere-app |
| Nov 24, 2026 | https://github.com/python/cpython/pull/162510#issuecomment-7130493752 |
| Please reload this page | https://github.com/python/cpython/pull/162510 |
| https://github.com/vstinner |
| vstinner | https://github.com/vstinner |
|
Nov 24, 2026
| https://github.com/python/cpython/pull/162510#pullrequestreview-6041814066 |
|
View reviewed changes
| https://github.com/python/cpython/pull/162510/files/aed27cde4cb986e4db95dda5e65cc27d54d8ef03 |
| Lib/os.py | https://github.com/python/cpython/pull/162510/files/aed27cde4cb986e4db95dda5e65cc27d54d8ef03#diff-d2e8ad2f4746ac5fb230fa5a7345fd4332c56818489a2246472d38893aa82431 |
| vstinner | https://github.com/vstinner |
| Nov 24, 2026 | https://github.com/python/cpython/pull/162510#discussion_r4682036069 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python/cpython/pull/162510 |
| itamarst | https://github.com/itamarst |
| Nov 24, 2026 | https://github.com/python/cpython/pull/162510#discussion_r4682307554 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python/cpython/pull/162510 |
| Lib/os.py | https://github.com/python/cpython/pull/162510/files/aed27cde4cb986e4db95dda5e65cc27d54d8ef03#diff-d2e8ad2f4746ac5fb230fa5a7345fd4332c56818489a2246472d38893aa82431 |
| vstinner | https://github.com/vstinner |
| Nov 24, 2026 | https://github.com/python/cpython/pull/162510#discussion_r4682079041 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python/cpython/pull/162510 |
| itamarst | https://github.com/itamarst |
| Nov 24, 2026 | https://github.com/python/cpython/pull/162510#discussion_r4682317543 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python/cpython/pull/162510 |
| Lib/os.py | https://github.com/python/cpython/pull/162510/files/aed27cde4cb986e4db95dda5e65cc27d54d8ef03#diff-d2e8ad2f4746ac5fb230fa5a7345fd4332c56818489a2246472d38893aa82431 |
| Please reload this page | https://github.com/python/cpython/pull/162510 |
| Lib/os.py | https://github.com/python/cpython/pull/162510/files/aed27cde4cb986e4db95dda5e65cc27d54d8ef03#diff-d2e8ad2f4746ac5fb230fa5a7345fd4332c56818489a2246472d38893aa82431 |
| Please reload this page | https://github.com/python/cpython/pull/162510 |
| Lib/os.py | https://github.com/python/cpython/pull/162510/files/aed27cde4cb986e4db95dda5e65cc27d54d8ef03#diff-d2e8ad2f4746ac5fb230fa5a7345fd4332c56818489a2246472d38893aa82431 |
| Please reload this page | https://github.com/python/cpython/pull/162510 |
| Lib/os.py | https://github.com/python/cpython/pull/162510/files/aed27cde4cb986e4db95dda5e65cc27d54d8ef03#diff-d2e8ad2f4746ac5fb230fa5a7345fd4332c56818489a2246472d38893aa82431 |
| Please reload this page | https://github.com/python/cpython/pull/162510 |
| Misc/NEWS.d/next/Library/2026-11-23-17-03-23.gh-issue-149452.zKhaUP.rst | https://github.com/python/cpython/pull/162510/files/aed27cde4cb986e4db95dda5e65cc27d54d8ef03#diff-7084481867f4880908254568151319d055598a2c58bd08f4cf4945b753e1927b |
| Please reload this page | https://github.com/python/cpython/pull/162510 |
| Lib/test/test_os/test_os.py | https://github.com/python/cpython/pull/162510/files/aed27cde4cb986e4db95dda5e65cc27d54d8ef03#diff-0c3c0e7d77a166e9089c5ddcc9d2db7c4fab9528044dec1fda4b3a6be569f784 |
| Please reload this page | https://github.com/python/cpython/pull/162510 |
| Lib/test/test_os/test_os.py | https://github.com/python/cpython/pull/162510/files/aed27cde4cb986e4db95dda5e65cc27d54d8ef03#diff-0c3c0e7d77a166e9089c5ddcc9d2db7c4fab9528044dec1fda4b3a6be569f784 |
| Please reload this page | https://github.com/python/cpython/pull/162510 |
| https://github.com/itamarst |
| itamarst | https://github.com/itamarst |
| Nov 24, 2026 | https://github.com/python/cpython/pull/162510#issuecomment-7135932557 |
| Please reload this page | https://github.com/python/cpython/pull/162510 |
| itamarst | https://github.com/itamarst |
| November 24, 2026 10:30 | https://github.com/python/cpython/pull/162510#commits-pushed-ca83a22 |
|
| https://github.com/itamarst |
|
| https://github.com/vstinner |
| Apply batched suggestions from code review | https://github.com/python/cpython/pull/162510/commits/ca83a22fb1027d9dcfd9f9714b5217684bba82ed |
| ca83a22 | https://github.com/python/cpython/pull/162510/commits/ca83a22fb1027d9dcfd9f9714b5217684bba82ed |
|
| https://github.com/itamarst |
| Explicitly return None | https://github.com/python/cpython/pull/162510/commits/e1245352e7349edb1034e62d8e6cc1acc1cdf2e9 |
| e124535 | https://github.com/python/cpython/pull/162510/commits/e1245352e7349edb1034e62d8e6cc1acc1cdf2e9 |
|
| https://github.com/itamarst |
| Lazy imports | https://github.com/python/cpython/pull/162510/commits/9f63b4d6ec569d1690a70a38d5c7e547bb705b35 |
| 9f63b4d | https://github.com/python/cpython/pull/162510/commits/9f63b4d6ec569d1690a70a38d5c7e547bb705b35 |
|
| https://github.com/itamarst |
| Handle return of None from cpu_count(), theoretically possible | https://github.com/python/cpython/pull/162510/commits/f07acca2df7f42e29d5c731f0a4d1dfa3b295d40 |
| f07acca | https://github.com/python/cpython/pull/162510/commits/f07acca2df7f42e29d5c731f0a4d1dfa3b295d40 |
|
| https://github.com/itamarst |
| Add update of change | https://github.com/python/cpython/pull/162510/commits/8f1bb3c66d9775a8e0eb2ca5aceefe2d1533b996 |
| 8f1bb3c | https://github.com/python/cpython/pull/162510/commits/8f1bb3c66d9775a8e0eb2ca5aceefe2d1533b996 |
|
| https://github.com/itamarst |
| Feature, not fix | https://github.com/python/cpython/pull/162510/commits/833fcaf0b3de095ae9e403ebb9710cb3e244afe9 |
| 833fcaf | https://github.com/python/cpython/pull/162510/commits/833fcaf0b3de095ae9e403ebb9710cb3e244afe9 |
| https://github.com/itamarst |
| itamarst | https://github.com/itamarst |
| Nov 24, 2026 | https://github.com/python/cpython/pull/162510#issuecomment-7139491277 |
| Please reload this page | https://github.com/python/cpython/pull/162510 |
| itamarst | https://github.com/itamarst |
| November 24, 2026 12:50 | https://github.com/python/cpython/pull/162510#commits-pushed-5bdfa8a |
|
| https://github.com/itamarst |
| Split into its own function, unit test | https://github.com/python/cpython/pull/162510/commits/5bdfa8ae77c7b5f3cbfb50ffdc30c648ca73312c |
| 5bdfa8a | https://github.com/python/cpython/pull/162510/commits/5bdfa8ae77c7b5f3cbfb50ffdc30c648ca73312c |
|
| https://github.com/itamarst |
| Don't call cpu_count() in this function | https://github.com/python/cpython/pull/162510/commits/87dd48f6bfcd7be6c057f5f3980edf2f6881802c |
| 87dd48f | https://github.com/python/cpython/pull/162510/commits/87dd48f6bfcd7be6c057f5f3980edf2f6881802c |
|
| https://github.com/itamarst |
| Add tests for missing files, and for parsing /proc/mounts | https://github.com/python/cpython/pull/162510/commits/5b97143169d8ddd7c94469d0f54d73da3dbf940c |
| 5b97143 | https://github.com/python/cpython/pull/162510/commits/5b97143169d8ddd7c94469d0f54d73da3dbf940c |
|
| https://github.com/itamarst |
| Move some testing out of end-to-end and into direct testing | https://github.com/python/cpython/pull/162510/commits/d47c4dcf17dc5f9b63be9b0b7262dc2861860445 |
| d47c4dc | https://github.com/python/cpython/pull/162510/commits/d47c4dcf17dc5f9b63be9b0b7262dc2861860445 |
| https://github.com/itamarst |
| itamarst | https://github.com/itamarst |
| Nov 24, 2026 | https://github.com/python/cpython/pull/162510#issuecomment-7141767594 |
| Please reload this page | https://github.com/python/cpython/pull/162510 |
| https://github.com/apps/bedevere-app |
| bedevere-app | https://github.com/apps/bedevere-app |
|
awaiting changes
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20changes%22 |
| Nov 24, 2026 | https://github.com/python/cpython/pull/162510#event-37169807608 |
| https://github.com/apps/bedevere-app |
| bedevere-app | https://github.com/apps/bedevere-app |
|
awaiting change review
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20change%20review%22 |
| Nov 24, 2026 | https://github.com/python/cpython/pull/162510#event-37169809581 |
| https://github.com/apps/bedevere-app |
| bedevere-app | https://github.com/apps/bedevere-app |
| Nov 24, 2026 | https://github.com/python/cpython/pull/162510#issuecomment-7141771187 |
| @picnixz | https://github.com/picnixz |
| Please reload this page | https://github.com/python/cpython/pull/162510 |
| https://github.com/apps/bedevere-app |
| bedevere-app | https://github.com/apps/bedevere-app |
| picnixz | https://github.com/picnixz |
| November 24, 2026 19:13 | https://github.com/python/cpython/pull/162510#event-37169815856 |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/{{ revealButtonHref }} |
| Sign up for free | https://github.com/join?source=comment-repo |
| Sign in to comment | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F162510 |
|
| https://github.com/vstinner |
|
vstinner
| https://github.com/vstinner |
|
| https://github.com/python/cpython/pull/162510/files/ca83a22fb1027d9dcfd9f9714b5217684bba82ed |
|
| https://github.com/picnixz |
|
picnixz
| https://github.com/picnixz |
| Please reload this page | https://github.com/python/cpython/pull/162510 |
|
awaiting change review
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20change%20review%22 |
|
type-feature
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3Atype-feature |
|
os.process_cpu_count() should take cgroups CPU limitations into account (on Linux)
| https://github.com/python/cpython/issues/149452 |
| Please reload this page | https://github.com/python/cpython/pull/162510 |
|
| https://github.com/itamarst |
|
| https://github.com/vstinner |
|
| https://github.com/picnixz |
|
| 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 |