воскресенье, 8 апреля 2012 г., 19:42:47 UTC+4 пользователь ZyX написал: > Here is a patch that adds to "bindeval" function to vim module (acts like > lua's vim.eval, except for function references), three types: vimdictionary, > vimlist and vimfunction (latter does not modify vim functions, but is able to > call them without vim.eval() and serializing) and pyeval() VimL function > (similar to mzeval). > > Testing and porting to python3 is still needed. All changes are available in > python-extended branch at https://bitbucket.org/ZyX_I/vim.
There is known issue here: at least two of three new types need to have more support in garbagecollector: I must add python equivalent to set_ref_in_lua. In other case vim crashes when calling garbage_collect (normally at exit) if there is a python reference to list/dictionary, but no vim one. -- You received this message from the "vim_dev" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php
