STINNER Victor added the comment: /home/alex/Python-3.5.0/Modules/_ctypes/_ctypes.c:2062:15: error: ‘_PyThreadState_Current’ undeclared (first use in this function) if (Py_EnterRecursiveCall("while processing _as_parameter_")) { ^
Ah yes, if you check the fix for C++ (changeset cb05b6d7aacd), I also had to modify pystate.h. Please try pyatomic-2.patch which hides more CPython internals in public headers. ---------- Added file: http://bugs.python.org/file40497/pyatomic-2.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue25150> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com