moving PythonToVimStr to before _catch_exception