Mercurial > vim
view src/testdir/test86.ok @ 3618:c052f3b79b99 v7.3.569
updated for version 7.3.569
Problem: Evaluating Vim expression in Python is insufficient.
Solution: Add vim.bindeval(). Also add pyeval() and py3eval(). (ZyX)
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Fri, 29 Jun 2012 12:54:53 +0200 |
parents | |
children | e75da4a3225d |
line wrap: on
line source
start: [1, 'as''d', [1, 2, function('strlen'), {'a': 1}]] [1, 2, function('strlen'), {'a': 1}] Vim(put):E684: [0, 'as''d', [1, 2, function('strlen'), {'a': 1}]] [0, function('strlen'), [1, 2, function('strlen'), {'a': 1}]] ['-1', '1', 'b'] '-1' : {'a': 1} '1' : 'asd' 'b' : [1, 2, function('strlen')] [0, function('strlen')] [3] {'1': 'asd', 'b': [1, 2, function('strlen')]} [0, 1, 2, 3] [0, 1, 2, 3] [0, 1, 3] [0, 1] [0, 1] [0, 1] [0, 1, 2, 3] [0, 1, 2, 3] [0, 2, 3] [2, 3] [2, 3] [2, 3] ['a', 0, 1, 2, 3] [0, 'b', 2, 3] [0, 1, 'c'] [0, 1, 2, 3, 'd'] [0, 1, 2, 'e', 3] ['f', 2, 3] [0, 1, 'g', 2, 3] ['h'] [0, 1, 2, 3] [function('New'), function('DictNew'), 'NewStart', 1, 2, 3, 'NewEnd'] [function('New'), function('DictNew'), 'NewStart', 1, 2, 3, 'NewEnd', 'DictNewStart', 1, 2, 3, 'DictNewEnd', {'a': 'b'}] [function('New'), function('DictNew'), 'NewStart', 1, 2, 3, 'NewEnd', 'DictNewStart', 1, 2, 3, 'DictNewEnd', {'a': 'b'}, 'New'] Vim(python):E725: Vim(python):E117: [0.0, 0.0] [0, 1, 2] ['a', 'b'] ['c', 1] ['d', ['e']] Vim(let):E858: Vim(let):E859: 0.0