[New-bugs-announce] [issue40584] PyType_FromModuleAndSpec function should add the process of tp_vectorcall_offset

hai shi report at bugs.python.org
Sun May 10 13:07:23 EDT 2020


New submission from hai shi <shihai1991 at 126.com>:

some typeobject using `tp_vectorcall_offset`, if we use `PyType_FromModuleAndSpec` to create the the typeobject, it will be faild due to `PyType_FromModuleAndSpec` lack the process of `tp_vectorcall_offset`.

so we should adding some process  like https://github.com/python/cpython/blob/master/Objects/typeobject.c#L2966-L2976.

----------
components: Interpreter Core
messages: 368589
nosy: petr.viktorin, shihai1991, vstinner
priority: normal
severity: normal
status: open
title: PyType_FromModuleAndSpec function should add the process of tp_vectorcall_offset
versions: Python 3.9

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


More information about the New-bugs-announce mailing list