[python] cleanup cython