[issue40584] PyType_FromModuleAndSpec function should add the process of tp_vectorcall_offset

Petr Viktorin report at bugs.python.org
Mon May 11 04:53:28 EDT 2020


Petr Viktorin <encukou at gmail.com> added the comment:

That seems reasonable. See the discussion around https://bugs.python.org/issue38140 for context.

Note that __dictoffset__ and __weaklistoffset__ are also exposed as members (in PyMemberDef type_members) and documented (Doc/c-api/structures.rst). A new __vectorcalloffset__ should have that as well.

----------

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


More information about the Python-bugs-list mailing list