[New-bugs-announce] [issue45439] [C API] Move usage of tp_vectorcall_offset from public headers to the internal C API

STINNER Victor report at bugs.python.org
Mon Oct 11 18:18:05 EDT 2021


New submission from STINNER Victor <vstinner at python.org>:

The public C API should avoid accessing directly PyTypeObject members: see bpo-40170.

I propose to move static inline functions to the internal C API, and only expose opaque function calls to the public C API.

----------
components: C API
messages: 403695
nosy: vstinner
priority: normal
severity: normal
status: open
title: [C API] Move usage of tp_vectorcall_offset from public headers to the internal C API
versions: Python 3.11

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue45439>
_______________________________________


More information about the New-bugs-announce mailing list