Mercurial > vim
diff runtime/doc/if_pyth.txt @ 5088:34c629c3b4ba v7.3.1287
updated for version 7.3.1287
Problem: Python SystemExit exception is not handled properly.
Solution: Catch the exception and give an error. (Yasuhiro Matsumoto, Ken
Takata)
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Mon, 01 Jul 2013 22:03:04 +0200 |
parents | c458ff35497e |
children | 6ec6b7ff2d43 |
line wrap: on
line diff
--- a/runtime/doc/if_pyth.txt +++ b/runtime/doc/if_pyth.txt @@ -740,6 +740,11 @@ 2. Vim is recompiled for only one Python 3. You undefine PY_NO_RTLD_GLOBAL in auto/config.h after configuration. This may crash Vim though. + *E880* +Raising SystemExit exception in python isn't endorsed way to quit vim, use: > + :py vim.command("qall!") +< + *has-python* You can test what Python version is available with: > if has('python')