]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-43795: Don't list private names in the limited API (GH-26740)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Wed, 16 Jun 2021 09:53:12 +0000 (02:53 -0700)
committerGitHub <noreply@github.com>
Wed, 16 Jun 2021 09:53:12 +0000 (02:53 -0700)
commit7fd40101b7130016fc98f05ce34746fed68ab542
treeb50959ebaa6aa8953cd0ec7bf36e5054314410dc
parent41c2a4a727d3d559632598759433e0ec1bf594f5
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
(cherry picked from commit 7cad9cb51bdae2144cbab330f13a607ba3471742)

Co-authored-by: Petr Viktorin <encukou@gmail.com>
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