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 <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