Skip to content

Commit 8412f31

Browse files
committed
File Pythonwin folder casing references in code and doc
1 parent ed40aaa commit 8412f31

15 files changed

Lines changed: 146 additions & 142 deletions

.git-blame-ignore-revs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,3 +20,6 @@ b74bfdca97238735adbd1b20d7245cca7070900f
2020

2121
# 2025-11-25 renormalized line endings in adodbapi
2222
d8f97a8c8f72263d336fc4050f83e007ac6e770d
23+
24+
# 3036-04-27 renamed Pythonwin folder to pythonwin
25+
5ed60c439db929d82acc09c9a85a417e406d6429

.gitattributes

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@ AutoDuck/*.fmt text eol=crlf
66

77
# Files that can't be in UTF-8 encoding
88
com/TestSources/PyCOMTest/PyCOMTest.idl working-tree-encoding=latin1
9-
Pythonwin/pywin/test/_dbgscript.py working-tree-encoding=latin1
9+
pythonwin/pywin/test/_dbgscript.py working-tree-encoding=latin1

.github/workflows/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ jobs:
165165
shell: pwsh
166166
if: ${{ !cancelled() }}
167167
- run: |
168-
clang-format --Werror --dry-run $(git ls-files '*.h' ':!:Pythonwin/Scintilla/' ':!:com/win32comext/mapi/src/MAPIStubLibrary/')
168+
clang-format --Werror --dry-run $(git ls-files '*.h' ':!:pythonwin/Scintilla/' ':!:com/win32comext/mapi/src/MAPIStubLibrary/')
169169
if ($LastExitCode -ne 0) { exit $LastExitCode }
170170
shell: pwsh
171171
if: ${{ !cancelled() }}

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ repos:
3434
types: [c++]
3535

3636
# Vendored
37-
exclude: ^(com/win32comext/mapi/src/MAPIStubLibrary/|Pythonwin/Scintilla/).*$
37+
exclude: ^(com/win32comext/mapi/src/MAPIStubLibrary/|pythonwin/Scintilla/).*$
3838

3939
ci:
4040
autoupdate_schedule: quarterly

CHANGES.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ Build 309, released 2025/03/09
9393
* Fixed `win32timezone.TimeZoneInfo` initialization from a `[DYNAMIC_]TIME_ZONE_INFORMATION` (mhammond#2339, [@Avasam][Avasam])
9494
* Added runtime deprecation warning of `win2kras`, use `win32ras` instead (mhammond#2356, [@Avasam][Avasam])
9595
* Improved handling of dict iterations and fallbacks (removes Python 2 support code, small general speed improvement) (mhammond#2332, mhammond#2330, [@Avasam][Avasam])
96-
* Fixed accidentally trying to raise an undefined name instead of an `Exception` in `Pythonwin/pywin/debugger/debugger.py` (mhammond#2326, [@Avasam][Avasam])
96+
* Fixed accidentally trying to raise an undefined name instead of an `Exception` in `pythonwin/pywin/debugger/debugger.py` (mhammond#2326, [@Avasam][Avasam])
9797
* Fixed PythonService DoLogMessage raising fatal GIL lock error (mhammond#2426, JacobNolan1)
9898
* Fixed and improved the following demos: `ddeclient`, `ddeserver`, `EvtSubscribe_push`, `openGLDemo`, `guidemo`, `ocxserialtest`, `ocxtest`, `testMSOffice.TestWord8` (mhammond#2290, mhammond#2281, mhammond#2291, mhammond#2478 [@Avasam][Avasam])
9999

@@ -129,8 +129,8 @@ as the .chm file, certain MAPI libraries etc, and .exe installers.
129129
* Add RealGetWindowClass (mhammond#2299, [@CristiFati][CristiFati])
130130
* Make it compile on Python 3.13 (mhammond#2260, [@clin1234][clin1234])
131131
* Fixed accidentally trying to raise a `str` instead of an `Exception` in (mhammond#2270, [@Avasam][Avasam])
132-
* `Pythonwin/pywin/debugger/debugger.py`
133-
* `Pythonwin/pywin/framework/dlgappcore.py`
132+
* `pythonwin/pywin/debugger/debugger.py`
133+
* `pythonwin/pywin/framework/dlgappcore.py`
134134
* `com/win32com/server/policy.py`
135135
* `win32/Lib/regutil.py`
136136
* `win32/scripts/VersionStamp/vssutil.py`

mypy.ini

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ explicit_package_bases = true
1313
mypy_path =
1414
$MYPY_CONFIG_FILE_DIR/com,
1515
$MYPY_CONFIG_FILE_DIR/win32/Lib,
16-
$MYPY_CONFIG_FILE_DIR/Pythonwin,
16+
$MYPY_CONFIG_FILE_DIR/pythonwin,
1717
$MYPY_CONFIG_FILE_DIR/AutoDuck,
1818
$MYPY_CONFIG_FILE_DIR/win32/scripts/VersionStamp,
1919

@@ -54,9 +54,9 @@ disable_error_code =
5454
exclude = (?x)(
5555
^build/
5656
; Vendored
57-
| ^Pythonwin/Scintilla/
57+
| ^pythonwin/Scintilla/
5858
; Forked IDLE extensions predating Python 2.3. They now live in idlelib in https://github.com/python/cpython/tree/main/Lib/idlelib
59-
| ^Pythonwin/pywin/idle/
59+
| ^pythonwin/pywin/idle/
6060
; TODO: Ignoring non-public APIs until all public API is typed
6161
| (test|[Dd]emos)/
6262
)

pyrightconfig.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@
1212
".venv/",
1313
"build/",
1414
// Vendored
15-
"Pythonwin/Scintilla/",
15+
"pythonwin/Scintilla/",
1616
// Forked IDLE extensions predating Python 2.3. They now live in idlelib in https://github.com/python/cpython/tree/main/Lib/idlelib
17-
"Pythonwin/pywin/idle/",
17+
"pythonwin/pywin/idle/",
1818
// Ignoring non-public apis for now
1919
"**/test/",
2020
"**/Demos/",
@@ -25,7 +25,7 @@
2525
"extraPaths": [
2626
"com",
2727
"win32/Lib",
28-
"Pythonwin",
28+
"pythonwin",
2929
],
3030
"reportConstantRedefinition": "error",
3131
// TODO: For now this allows us to at least put pyright in place by massively reducing checked code

pythonwin/Scintilla/README_pythonwin.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ For the full set of Scintilla sources, including its documentation
88
and companion editor SciTE, see <https://www.scintilla.org/>.
99

1010
When updating the Scintilla source, also update the copyright year
11-
in Pythonwin/pywin/framework/app.py and regenerate
12-
Pythonwin/pywin/scintilla/scintillacon.py by running
11+
in pythonwin/pywin/framework/app.py and regenerate
12+
pythonwin/pywin/scintilla/scintillacon.py by running
1313
`nmake /f makefile_pythonwin scintillacon.py`.
1414
(nmake will be found in your VS Build Tools, for instance:
1515
`C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.41.34120\bin\Hostx86\x86\nmake.exe`)

pythonwin/doc/debugger/tutorial.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
<H1><IMG SRC="pythonwin.gif" WIDTH=64 HEIGHT=64>Pythonwin Debugger Tutorial </H1>
1111
<B><P>NOTE:</B> This debugger used to be known as the "win32dbg" package. Also, we have recently upgraded to a much better editor control. The screen shots in this tutorial do not reflect these recent changes. Although "win32dbg" will still work, you should substitute "pywin.debugger" for "win32dbg" in the screen-shots, and hopefully the new editor control will make the break-points etc even more obvious.</P>
12-
<P>This tutorial shows how to debug a file provided with Pythonwin distribution. The module we will debug is called "fail.py", and is provided purely for demonstrating and testing the debugger. This file is located in the Pythonwin\pywin\debugger directory. </P>
12+
<P>This tutorial shows how to debug a file provided with Pythonwin distribution. The module we will debug is called "fail.py", and is provided purely for demonstrating and testing the debugger. This file is located in the pythonwin\pywin\debugger directory. </P>
1313
<P>This document does not attempt to discuss general debugging concepts. It is assumed that you understand the concepts of "Step In" to a routine, "Step Over" a routine, "call stack", "break-point" etc. </P>
1414
<P>When you have completed the tutorial, you should read the <A HREF="general.html">general debugger documentation</A>. </P>
1515
<P>In general, the user interface should be fairly intuitive. All toolbar items have status bar text and tool-tips, which will help determine their function. </P>
@@ -28,9 +28,9 @@ <H3>From Pythonwin or Python.exe</H3>
2828
<PRE>import pywin.debugger.fail&lt;enter&gt;</PRE>
2929
<P>&nbsp;</P>
3030
<H3>From Windows Explorer</H3>
31-
<P>Navigate to the Pythonwin\pywin\debugger directory, and double-click on the file "fail.py"</P>
31+
<P>Navigate to the pythonwin\pywin\debugger directory, and double-click on the file "fail.py"</P>
3232
<H3>From the MS-DOS Prompt</H3>
33-
<P>Change to the Pythonwin\pywin\debugger directory.</P>
33+
<P>Change to the pythonwin\pywin\debugger directory.</P>
3434
<P>For Windows NT users, type:</P>
3535
<CODE><P>fail.py&lt;enter&gt;</CODE> </P>
3636
<P>or</P>

pywin32.pth

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# .pth file for the PyWin32 extensions
22
win32
33
win32\lib
4-
Pythonwin
4+
pythonwin
55
# And some hackery to deal with environments where the post_install script
66
# isn't run.
77
import pywin32_bootstrap

0 commit comments

Comments
 (0)