STINNER Victor <vstin...@redhat.com> added the comment:

"printfunc tp_print;" has been replaced with "Py_ssize_t 
tp_vectorcall_offset;": the type was basically a pointer and has been replaced 
with an integer.

With "#define tp_print tp_vectorcall", "type->tp_print = NULL;" becomes 
"type->tp_vectorcall = NULL;".

If -Werror is used, "type->tp_vectorcall = NULL;" would fail with a compilation 
error, since NULL is not exactly an integer, no? I'm not sure that it's an 
issue, I'm just thinking aloud.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue37250>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to