Skip to content

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

Open
thexai wants to merge 1 commit into
python:mainfrom
thexai:uwp-os_cpu_count
Open

gh-152433: Windows: implement os.cpu_count() for UWP#152479
thexai wants to merge 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 gh-152433: Windows: implement os.cpu_count() for UWP Jul 4, 2026
@@ -0,0 +1 @@
Implement os.cpu_count() for UWP.

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.

Suggested change
Implement os.cpu_count() for UWP.
Implement :func:`os.cpu_count()` for Universal Windows Platforms.

Please try to use markup, also generally we try to avoid unexplained abbreviations.

@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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants