GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — gh-152433: Windows: implement ``os.cpu_count()`` for UWP by thexai · Pull Request #152479 · python/cpython

Conversation

@thexai

@thexai thexai commented Jun 28, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

Implement os.cpu_count() for UWP.

  • Issue: Windows: improve compatibility to build for UWP / Xbox #152433

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@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.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@bedevere-app bedevere-app Bot mentioned this pull request Jun 28, 2026
Windows: improve compatibility to build for UWP / Xbox #152433
Open
@bedevere-app bedevere-app Bot added the awaiting review label Jun 28, 2026
@thexai
thexai force-pushed the uwp-os_cpu_count branch 2 times, most recently from d96aa51 to e0e02b1 Compare June 29, 2026 14:11
chris-eibl
chris-eibl approved these changes Jun 30, 2026
View reviewed changes

@chris-eibl chris-eibl left a comment

Copy link
Copy Markdown
Member

There was a problem hiding this comment.

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 :)

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@bedevere-app bedevere-app Bot added awaiting merge and removed awaiting review labels Jun 30, 2026
@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
StanFromIreland
StanFromIreland reviewed Jul 5, 2026
View reviewed changes
Comment thread Misc/NEWS.d/next/Windows/2026-06-28-12-37-08.gh-issue-152433.FTMgqF.rst Resolved

Uh oh!

There was an error while loading. Please reload this page.

@thexai
thexai force-pushed the uwp-os_cpu_count branch from e0e02b1 to 842e050 Compare July 5, 2026 18:25
@thexai
pythongh-152433: Windows: implement os.cpu_count() for UWP
3830800
@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 approved these changes Jul 18, 2026
View reviewed changes
@zware
zware merged commit d7b171b into python:main Jul 18, 2026
66 of 77 checks passed

Uh oh!

There was an error while loading. Please reload this page.

@bedevere-app bedevere-app Bot removed the awaiting merge label Jul 18, 2026
@chris-eibl chris-eibl added the sprint label Jul 18, 2026
@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

Reviewers

@StanFromIreland StanFromIreland StanFromIreland left review comments
@zware zware zware approved these changes
@chris-eibl chris-eibl chris-eibl approved these changes

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

sprint

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

4 participants

@thexai @zware @StanFromIreland @chris-eibl
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.