MinGW probably doesn't set _MSC_VER (because, why should it?), so the guard doesn't apply and opens up the special case for Python < 3.6. Problem is, it shouldn't guard against MSVC since this is a platform issue, not a compiler thing. The _PyGen_Send() function is not properly exported before python/cpython@833c626, and the fact that Linux systems do not care is not a good excuse for blaming it on Windows (let alone MSVC, although that is always a good target for blaming). I'll change the guard to defined(__linux__) for 0.27.3.
mingwpy-0.1.0b3
3.4.4
0.27.2
I think it was introduced in
0.27
, our build reports the issue for Python 3.4 versions. See this commit - 72acc2c andcython/Cython/Utility/Coroutine.c
Line 787 in 94acc16
Also notice 3.3+ referenced here and not in the rest of the lines:
cython/Cython/Utility/Coroutine.c
Line 786 in 94acc16
build
↓The file
_event.pxd
hasn't changed for quite a while + the build worked fine with<0.27
.Any ideas how to fix it without downgrading to 0.26?
The text was updated successfully, but these errors were encountered: