]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.13] gh-136759: rename `lock.h` to `pylock.h` (GH-137041) (#137075)
authorAN Long <aisk@users.noreply.github.com>
Thu, 24 Jul 2025 16:06:25 +0000 (01:06 +0900)
committerGitHub <noreply@github.com>
Thu, 24 Jul 2025 16:06:25 +0000 (21:36 +0530)
commit74503acba7d6c563aeef307ccf2d0cee141838b0
treeb2303e856eb2e62b126446bd1ffae4e19555b509
parent2880798d0eeab99b1701df9716a69f48e09f2ea5
[3.13] gh-136759: rename `lock.h` to `pylock.h` (GH-137041) (#137075)

Rename `lock.h` to `pylock.h` to avoid conflicts with headers of other projects.
(cherry picked from commit ec02db5caa546cb4759999453bd6efc1d517b95c)
Include/Python.h
Include/cpython/pylock.h [moved from Include/cpython/lock.h with 100% similarity]
Include/internal/pycore_lock.h
Include/pylock.h [moved from Include/lock.h with 87% similarity]
Makefile.pre.in
Misc/NEWS.d/next/C API/2025-07-23-22-30-23.gh-issue-136759.ffB4wO.rst [new file with mode: 0644]
PCbuild/pythoncore.vcxproj
PCbuild/pythoncore.vcxproj.filters