]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-43795: Don't list private names in the limited API (GH-26740)
authorPetr Viktorin <encukou@gmail.com>
Wed, 16 Jun 2021 09:22:36 +0000 (11:22 +0200)
committerGitHub <noreply@github.com>
Wed, 16 Jun 2021 09:22:36 +0000 (11:22 +0200)
commit7cad9cb51bdae2144cbab330f13a607ba3471742
treed53aae128e414165484a9590c7bfb2beb4b1e619
parent741b8ae1cfc507902eb57e20f003487af13e40c0
bpo-43795: Don't list private names in the limited API (GH-26740)

* Remove struct _node from the stable ABI list

This struct was removed along with the old parser in Python 3.9 (PEP 617)

* Stable ABI list: Use the public name "PyFrameObject" rather than "_frame"

* Ensure limited API doesn't contain private names

Names prefixed by an underscore are private by definition.

* Add a blurb
Doc/data/stable_abi.dat
Misc/NEWS.d/next/C API/2021-06-15-16-28-18.bpo-43795.fy0AXK.rst [new file with mode: 0644]
Misc/stable_abi.txt
Tools/scripts/stable_abi.py