Wenzel Jakob added the comment:
I've also run into this regression. FWIW this is what I've ended up using to
work around it (it's a mess, but what are we to do..)
#if PY_VERSION_HEX >= 0x0305 && PY_VERSION_HEX < 0x03050200
extern "C" {
/* Manually import _PyThreadState_Current symbol */
STINNER Victor added the comment:
Function added
@fijal: Sorry for the annoyance of the Python 3.5.1 regression.
--
resolution: -> fixed
status: open -> closed
title: Add private _PyThreadState_FastGet() to get the current thread state ->
Add private _PyThreadState_UncheckedGet() to g