Skip to content

gh-163009: Move Windows-only extension modules from PC/ to Modules/ - #163010

Open
hugovk wants to merge 3 commits into
python:mainfrom
hugovk:3.16-platforms-windows
Open

hugovk wants to merge 3 commits into
python:mainfrom
hugovk:3.16-platforms-windows

Conversation

@hugovk

@hugovk hugovk commented Dec 2, 2026 •

Copy link
Copy Markdown
Member

First part of Windows move.

This moves winreg, msvcrt, winsound, _wmi and _testconsole, along with their Argument Clinic headers, next to the other Windows-only modules such as _winapi and overlapped, as suggested here.

This is the first step towards moving PC/ and PCbuild/ into Platforms/Windows/. It changes no build entry points.

A second PR will need changes in https://github.com/python/release-tools first, so doing this in smaller steps.

@read-the-docs-community

read-the-docs-community Bot commented Dec 2, 2026 •

Copy link
Copy Markdown

📖 7 files modified


Preview · build overview · cpython-previews · built Dec. 3, 2026, 11:06 a.m. UTC

Comment thread InternalDocs/structure.md Resolved
Co-authored-by: Stan Ulbrych <stan@python.org>

@StanFromIreland StanFromIreland 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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

awaiting merge build The build process and cross-build OS-windows type-feature A feature request or enhancement

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants