Do these upstream patches together fix the problem? https://github.com/cython/cython/commit/bd43a6a2c93443792d07caeb9647eab5a75858b7 https://github.com/cython/cython/commit/a2bec15e0db9ebdd22504268c15bfa059b44f72f https://github.com/cython/cython/commit/96a14165f496018f4a03714b4a4936920d8d7ec9