python: fix debug() for Cython