[issue40170] [C API] Make PyTypeObject structure an opaque structure in the public C API

STINNER Victor report at bugs.python.org
Wed Jul 8 16:46:37 EDT 2020


STINNER Victor <vstinner at python.org> added the comment:

> Thanks for doing this.  I can confirm the performance regression is fixed and that clean code is being generated for PyTuple_Check().

Thanks for checking!

> BTW, I support your efforts — just wanted to make sure we didn't unintentionally take a step backwards.

I tried to avoid changes which could affect performances.

I wrote PEP 620 for such changes.

----------

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


More information about the Python-bugs-list mailing list