python: proper support for cython