New submission from hai shi <shihai1...@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 <rep...@bugs.python.org>
<https://bugs.python.org/issue40584>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to