Mercurial > vim
view src/proto/if_python.pro @ 17184:a5c3d374e1d3 v8.1.1591
patch 8.1.1591: on error garbage collection may free memory in use
commit https://github.com/vim/vim/commit/7d491c425334d9477637372a4ebec64c228c8430
Author: Bram Moolenaar <Bram@vim.org>
Date: Tue Jun 25 06:28:02 2019 +0200
patch 8.1.1591: on error garbage collection may free memory in use
Problem: On error garbage collection may free memory in use.
Solution: Reset may_garbage_collect when evaluating expression mapping.
Add tests. (Ozaki Kiichi, closes #4579)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Tue, 25 Jun 2019 06:30:09 +0200 |
parents | 21b0a39d13ed |
children |
line wrap: on
line source
/* if_python.c */ int python_enabled(int verbose); void python_end(void); int python_loaded(void); void ex_python(exarg_T *eap); void ex_pyfile(exarg_T *eap); void ex_pydo(exarg_T *eap); void python_buffer_free(buf_T *buf); void python_window_free(win_T *win); void python_tabpage_free(tabpage_T *tab); void do_pyeval(char_u *str, typval_T *rettv); int set_ref_in_python(int copyID); /* vim: set ft=c : */