[issue14432] Bug in generator if the generator in created in a temporary C thread

STINNER Victor report at bugs.python.org
Fri Dec 13 14:28:59 CET 2013


STINNER Victor added the comment:

2013/12/13 Victor Stinner <victor.stinner at gmail.com>:
> The header is not public, it is private.

Hum, I'm not clear. frameobject.h is not included in Python.h, so the
classic #include "Python.h" doesn't give you access to PyFrameObject
structure. You have to add a second #include "frameobject.h". All
definitions in this header are also surrounded by #ifndef
Py_LIMITED_API ... #endif, so the fields are not part of the stable
API.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue14432>
_______________________________________


More information about the Python-bugs-list mailing list