Cython actually appears to be working correctly (but very slowly)