]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.13] gh-141004: Mark up docs of old PyMem macros (GH-143783) (GH-143865)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Thu, 22 Jan 2026 10:52:12 +0000 (11:52 +0100)
committerGitHub <noreply@github.com>
Thu, 22 Jan 2026 10:52:12 +0000 (11:52 +0100)
commit9a3aea9fd52436a2cae3196594bb1ed238299aa9
treedce7db3a3d5307439d9468b398e44bc73d5acda8
parenta6acb1628fc045c1bf46f88746328fdea5a8608c
[3.13] gh-141004: Mark up docs of old PyMem macros (GH-143783) (GH-143865)

gh-141004: Mark up docs of old PyMem macros (GH-143783)

These had a docs-only deprecation notice since the first version of the docs in this repo. Nowadays we call things “soft deprecated” if there's just a note in the docs.

The deprecated directive needs a version, I went with the first one that had the notice (2.0; it's not in 1.6):
- https://docs.python.org/release/2.0/api/memoryInterface.html
- https://docs.python.org/release/1.6/api/memoryInterface.html

Since PEP 445, they are now direct aliases; there are no (additional) binary compatibility concerns over the preferred names.
(cherry picked from commit a009e78b79ec340d9ff0e1a8ad20f8178fd3257f)

Co-authored-by: Petr Viktorin <encukou@gmail.com>
Doc/c-api/memory.rst