[issue25150] 3.5: Include/pyatomic.h is incompatible with OpenMP (compilation of the third-party yt module fails on Python 3.5)

Stefan Behnel report at bugs.python.org
Fri Sep 18 14:25:14 CEST 2015


Stefan Behnel added the comment:

Understood and agreed. Second patch looks good to me.

Cython calls PyThreadState_GET() in pretty much every helper function that deals with exceptions, but I doubt that the potential speed difference is going to be relevant in the real world. And we target CPython's API level anyway, not the ABI, so the C code will just adapt at compile time.

----------

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


More information about the Python-bugs-list mailing list