summaryrefslogtreecommitdiff
path: root/runtime/doc/if_pyth.txt
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2013-07-01 22:03:04 +0200
committerBram Moolenaar <Bram@vim.org>2013-07-01 22:03:04 +0200
commit41009374747d68a12d043bcca0ae649d0c18daf4 (patch)
treee05985bb9262965f6c4ea9a4ddde724be7b89084 /runtime/doc/if_pyth.txt
parentc33916a6e06db94ea1a3dfd35eee32ca80787ec5 (diff)
downloadvim-git-41009374747d68a12d043bcca0ae649d0c18daf4.tar.gz
updated for version 7.3.1287v7.3.1287
Problem: Python SystemExit exception is not handled properly. Solution: Catch the exception and give an error. (Yasuhiro Matsumoto, Ken Takata)
Diffstat (limited to 'runtime/doc/if_pyth.txt')
-rw-r--r--runtime/doc/if_pyth.txt5
1 files changed, 5 insertions, 0 deletions
diff --git a/runtime/doc/if_pyth.txt b/runtime/doc/if_pyth.txt
index 055a5372d..29718b20a 100644
--- a/runtime/doc/if_pyth.txt
+++ b/runtime/doc/if_pyth.txt
@@ -740,6 +740,11 @@ To work around such problems there are these options:
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')