break point functions for python, in cython