You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When attempting to build for Python 3.4 (with mingw32), I get the following error:
_yappi.c: In function '_yapp_callback':
_yappi.c:680:36: error: 'PyFrameObject {aka struct _frame}' has no member named 'f_tstate'
current_ctx = _thread2ctx(frame->f_tstate);
I opened up C:\Python34\include\frameobject.h on my PC, and indeed no such member is present in the 3.4 version of frameobject.h, despite it being present in earlier versions of Python.
What would be a way to work around this?
The text was updated successfully, but these errors were encountered:
The member exists in Python 3.5 which I just downloaded. However, trying to build for Python 3.5 (with mingw32) comes with its own set of challenges. =P
The issues in both cases are Python specific, not anything to do with your code so I'm closing this. Thanks for your time.
For anyone who comes across this later with a similar error, adding PyThreadState *f_tstate; to the file PythonX/include/frameobject.h as seen here gets rid of the no member problem.
However you are changing your Python install's source code, so yah...
Hi
When attempting to build for Python 3.4 (with mingw32), I get the following error:
I opened up
C:\Python34\include\frameobject.h
on my PC, and indeed no such member is present in the 3.4 version offrameobject.h
, despite it being present in earlier versions of Python.What would be a way to work around this?
The text was updated successfully, but these errors were encountered: