comparison src/testdir/test87.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
comparison
equal deleted inserted replaced
3617:74d62fbf05c9 3618:c052f3b79b99
1 start:
2 [1, 'as''d', [1, 2, function('strlen'), {'a': 1}]]
3 [1, 2, function('strlen'), {'a': 1}]
4 Vim(put):E684:
5 [0, 'as''d', [1, 2, function('strlen'), {'a': 1}]]
6 [0, function('strlen'), [1, 2, function('strlen'), {'a': 1}]]
7 ['-1', '1', 'b']
8 '-1' : {'a': 1}
9 '1' : 'asd'
10 'b' : [1, 2, function('strlen')]
11 [0, function('strlen')]
12 [3]
13 {'1': 'asd', 'b': [1, 2, function('strlen')]}
14 [0, 1, 2, 3]
15 [0, 1, 2, 3]
16 [0, 1, 3]
17 [0, 1]
18 [0, 1]
19 [0, 1]
20 [0, 1, 2, 3]
21 [0, 1, 2, 3]
22 [0, 2, 3]
23 [2, 3]
24 [2, 3]
25 [2, 3]
26 ['a', 0, 1, 2, 3]
27 [0, 'b', 2, 3]
28 [0, 1, 'c']
29 [0, 1, 2, 3, 'd']
30 [0, 1, 2, 'e', 3]
31 ['f', 2, 3]
32 [0, 1, 'g', 2, 3]
33 ['h']
34 [0, 1, 2, 3]
35 [function('New'), function('DictNew'), 'NewStart', 1, 2, 3, 'NewEnd']
36 [function('New'), function('DictNew'), 'NewStart', 1, 2, 3, 'NewEnd', 'DictNewStart', 1, 2, 3, 'DictNewEnd', {'a': 'b'}]
37 [function('New'), function('DictNew'), 'NewStart', 1, 2, 3, 'NewEnd', 'DictNewStart', 1, 2, 3, 'DictNewEnd', {'a': 'b'}, 'New']
38 Vim(py3):E725:
39 Vim(py3):E117:
40 [0.0, 0.0]
41 [0, 1, 2]
42 ['a', 'b']
43 ['c', 1]
44 ['d', ['e']]
45 Vim(let):E860:
46 Vim(let):E861:
47 0.0