Skip to content

gh-152433: Windows: implement os.cpu_count() for UWP - #152479

Merged
zware merged 1 commit into
python:mainfrom
thexai:uwp-os_cpu_count
Jul 18, 2026
Merged

zware merged 1 commit into
python:mainfrom
thexai:uwp-os_cpu_count

Conversation

@thexai

@thexai thexai commented Jun 28, 2026 •

Copy link
Copy Markdown
Contributor

Implement os.cpu_count() for UWP.

@bedevere-app

bedevere-app Bot commented Jun 28, 2026

Copy link
Copy Markdown

Most changes to Python require a NEWS entry. Add one using the blurb_it web app or the blurb command-line tool.

If this change has little impact on Python users, wait for a maintainer to apply the skip news label instead.

@chris-eibl chris-eibl left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. I do not have an UWP environment, though, but the implementation looks correct and if it works for you it works for me :)

@thexai thexai changed the title gh-152433: Windows: implement os.cpu_count() for UWP Jul 4, 2026
@thexai
thexai force-pushed the uwp-os_cpu_count branch from e0e02b1 to 842e050 Compare July 5, 2026 18:25
@thexai
thexai force-pushed the uwp-os_cpu_count branch from 842e050 to 3830800 Compare July 6, 2026 13:26
@thexai thexai closed this Jul 6, 2026
@thexai thexai reopened this Jul 6, 2026
@zware
zware merged commit d7b171b into python:main Jul 18, 2026
62 of 73 checks passed
@thexai
thexai deleted the uwp-os_cpu_count branch July 18, 2026 14:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

4 participants