]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-40170: Convert PyObject_CheckBuffer() macro to a function (GH-19376)
authorVictor Stinner <vstinner@python.org>
Tue, 7 Apr 2020 23:13:53 +0000 (01:13 +0200)
committerGitHub <noreply@github.com>
Tue, 7 Apr 2020 23:13:53 +0000 (01:13 +0200)
commitef5c615f5ae72c4f6979159c94da46afefbfab9a
tree85213408d6eaa43d1bd6c013f5e1cb0d921534be
parent9205520d8c43488696d66cbdd9aefbb21871c508
bpo-40170: Convert PyObject_CheckBuffer() macro to a function (GH-19376)

Convert PyObject_CheckBuffer() macro to a function to hide
implementation details: the macro accessed directly the
PyTypeObject.tp_as_buffer member.
Include/cpython/abstract.h
Misc/NEWS.d/next/C API/2020-04-05-00-02-13.bpo-40170.IFsGZ-.rst [new file with mode: 0644]
Objects/abstract.c