diff options
author | Petr Viktorin <encukou@gmail.com> | 2021-04-23 12:17:58 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-23 12:17:58 (GMT) |
commit | 9d6a2d0ee7e55402656e1dec46400591b62db331 (patch) | |
tree | c9d5c5cb1aca48f6fc10ea337d728293c63ac457 /Doc | |
parent | e7cc64e297001cc79b9afab80f71d9e6d1267cb7 (diff) | |
download | cpython-9d6a2d0ee7e55402656e1dec46400591b62db331.zip cpython-9d6a2d0ee7e55402656e1dec46400591b62db331.tar.gz cpython-9d6a2d0ee7e55402656e1dec46400591b62db331.tar.bz2 |
bpo-43795: PEP-652: Clean up the stable ABI/limited API (GH-25482)
- `_Py_EncodeLocaleRaw`, which is private by name, undocumented,
and wasn't exported in `python3.dll`, is moved to a private header.
- `_Py_HashSecret_Initialized`, again private by name, undocumented,
and not exported in `python3.dll`, is excluded with `Py_LIMITED_API`.
- `PyMarshal_*` and `PyMember_*One` functions, declared in private headers and
not exported in `python3.dll`, are removed from `Doc/data/stable_abi.dat`.
- `PyMem_Calloc` which *was* exported in `python3dll.c`, is moved to public
headers where it joins its other `PyMem_*` friends.
Only the last change is documented in the blurb; others are not user-visible.
(Nothing uses `Doc/data/stable_abi.dat` yet.)
https://bugs.python.org/issue43795
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/data/stable_abi.dat | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/Doc/data/stable_abi.dat b/Doc/data/stable_abi.dat index b7e3ef4..cdc7160 100644 --- a/Doc/data/stable_abi.dat +++ b/Doc/data/stable_abi.dat @@ -351,16 +351,11 @@ PyMapping_Length PyMapping_SetItemString PyMapping_Size PyMapping_Values -PyMarshal_ReadObjectFromString -PyMarshal_WriteLongToFile -PyMarshal_WriteObjectToFile -PyMarshal_WriteObjectToString +PyMem_Calloc PyMem_Free PyMem_Malloc PyMem_Realloc PyMemberDescr_Type -PyMember_GetOne -PyMember_SetOne PyMemoryView_FromMemory PyMemoryView_FromObject PyMemoryView_GetContiguous |