]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-45474: Fix the limited C API of marshal.h (GH-28956)
authorVictor Stinner <vstinner@python.org>
Thu, 14 Oct 2021 22:20:33 +0000 (00:20 +0200)
committerGitHub <noreply@github.com>
Thu, 14 Oct 2021 22:20:33 +0000 (00:20 +0200)
commitaf1083e975b9627a5c97013d3a2b9aef0e4b333c
tree065625bdac161b18912ec7ef005692d61117cd04
parent0a883a76cda8205023c52211968bcf87bd47fd6e
bpo-45474: Fix the limited C API of marshal.h (GH-28956)

Remove two functions from the limited C API:

* PyMarshal_WriteLongToFile()
* PyMarshal_WriteObjectToFile()

The PEP 384 excludes functions expecting "FILE*" from the stable ABI.

Remove also the Py_MARSHAL_VERSION macro from the limited C API.
Doc/whatsnew/3.11.rst
Include/marshal.h
Misc/NEWS.d/next/C API/2021-10-14-22-16-56.bpo-45474.1OkJQh.rst [new file with mode: 0644]