[issue41798] [C API] Revisit usage of the PyCapsule C API with multi-phase initialization API

STINNER Victor report at bugs.python.org
Tue Oct 27 00:12:07 EDT 2020


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

> Also note that the capsule generally needs to hold references to the objects in exposes

Oh right, that's a great advice!

----------

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


More information about the Python-bugs-list mailing list