Skip to content

Commit 4585fde

Browse files
committed
Move Windows-only extension modules from PC/ to Modules/
1 parent 35f2bb9 commit 4585fde

27 files changed

Lines changed: 32 additions & 21 deletions

‎.github/CODEOWNERS‎

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,6 +188,11 @@ Tools/wasm/wasi @brettcannon @emmatyping @savannahostrowski
188188
# Windows
189189
PC/ @python/windows-team
190190
PCbuild/ @python/windows-team
191+
Modules/_testconsole.c @python/windows-team
192+
Modules/_wmimodule.cpp @python/windows-team
193+
Modules/msvcrtmodule.c @python/windows-team
194+
Modules/winreg.c @python/windows-team
195+
Modules/winsound.c @python/windows-team
191196

192197
# Windows Venv launcher/redirector
193198
PC/venvlauncher.c @python/windows-team @vsajip
@@ -675,7 +680,6 @@ Modules/_zstd/ @AA-Turner @emmatyping
675680
# Exclude Argument Clinic directories
676681
Modules/**/clinic/
677682
Objects/**/clinic/
678-
PC/**/clinic/
679683
Python/**/clinic/
680684

681685
# Exclude Lazy Imports=all CI carve out file

‎Doc/library/msvcrt.rst‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
.. module:: msvcrt
55
:synopsis: Miscellaneous useful routines from the MS VC++ runtime.
66

7-
**Source code:** :source:`PC/msvcrtmodule.c`
7+
**Source code:** :source:`Modules/msvcrtmodule.c`
88

99
--------------
1010

‎Doc/library/winreg.rst‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
.. module:: winreg
55
:synopsis: Routines and objects for manipulating the Windows registry.
66

7-
**Source code:** :source:`PC/winreg.c`
7+
**Source code:** :source:`Modules/winreg.c`
88

99
--------------
1010

‎Doc/library/winsound.rst‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
.. module:: winsound
55
:synopsis: Access to the sound-playing machinery for Windows.
66

7-
**Source code:** :source:`PC/winsound.c`
7+
**Source code:** :source:`Modules/winsound.c`
88

99
--------------
1010

‎InternalDocs/structure.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,4 +37,4 @@ Some exceptions to these layouts are:
3737
* built-in type `str` is at [`Objects/unicodeobject.c`](../Objects/unicodeobject.c)
3838
* built-in module `sys` is at [`Python/sysmodule.c`](../Python/sysmodule.c)
3939
* built-in module `marshal` is at [`Python/marshal.c`](../Python/marshal.c)
40-
* Windows-only module `winreg` is at [`PC/winreg.c`](../PC/winreg.c)
40+
* Windows-only module `winreg` is at [`Modules/winreg.c`](../Modules/winreg.c)
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
Move the Windows-only extension modules :mod:`msvcrt`, :mod:`winreg`,
2+
:mod:`winsound`, ``_wmi`` and ``_testconsole`` from :file:`PC/` to
3+
:file:`Modules/`. Patch by Hugo van Kemenade.

0 commit comments

Comments
 (0)