annotate src/testdir/test87.ok @ 4704:542af01979be v7.3.1099

updated for version 7.3.1099 Problem: Python: Changing directory with os.chdir() causes problems for Vim's notion of directories. Solution: Add vim.chdir() and vim.fchdir(). (ZyX)
author Bram Moolenaar <bram@vim.org>
date Sun, 02 Jun 2013 18:20:17 +0200
parents 2db005052371
children bf917ee1fad2
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
3618
c052f3b79b99 updated for version 7.3.569
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
1 start:
c052f3b79b99 updated for version 7.3.569
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
2 [1, 'as''d', [1, 2, function('strlen'), {'a': 1}]]
c052f3b79b99 updated for version 7.3.569
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
3 [1, 2, function('strlen'), {'a': 1}]
c052f3b79b99 updated for version 7.3.569
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
4 Vim(put):E684:
c052f3b79b99 updated for version 7.3.569
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
5 [0, 'as''d', [1, 2, function('strlen'), {'a': 1}]]
c052f3b79b99 updated for version 7.3.569
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
6 [0, function('strlen'), [1, 2, function('strlen'), {'a': 1}]]
4631
4157fef7b950 updated for version 7.3.1063
Bram Moolenaar <bram@vim.org>
parents: 4629
diff changeset
7 1
4157fef7b950 updated for version 7.3.1063
Bram Moolenaar <bram@vim.org>
parents: 4629
diff changeset
8 [b'-1', b'0', b'1', b'b', b'f']
4157fef7b950 updated for version 7.3.1063
Bram Moolenaar <bram@vim.org>
parents: 4629
diff changeset
9 [-1, <vim.Function '1'>, <vim.dictionary object at >, <vim.list object at >, b'asd']
4157fef7b950 updated for version 7.3.1063
Bram Moolenaar <bram@vim.org>
parents: 4629
diff changeset
10 [(b'-1', <vim.dictionary object at >), (b'0', -1), (b'1', b'asd'), (b'b', <vim.list object at >), (b'f', <vim.Function '1'>)]
3618
c052f3b79b99 updated for version 7.3.569
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
11 '-1' : {'a': 1}
4627
18ba89e06fab updated for version 7.3.1061
Bram Moolenaar <bram@vim.org>
parents: 4619
diff changeset
12 '0' : -1
3618
c052f3b79b99 updated for version 7.3.569
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
13 '1' : 'asd'
c052f3b79b99 updated for version 7.3.569
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
14 'b' : [1, 2, function('strlen')]
4631
4157fef7b950 updated for version 7.3.1063
Bram Moolenaar <bram@vim.org>
parents: 4629
diff changeset
15 'f' : function('1')
3618
c052f3b79b99 updated for version 7.3.569
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
16 [0, function('strlen')]
c052f3b79b99 updated for version 7.3.569
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
17 [3]
4627
18ba89e06fab updated for version 7.3.1061
Bram Moolenaar <bram@vim.org>
parents: 4619
diff changeset
18 [1, 2, function('strlen')]
18ba89e06fab updated for version 7.3.1061
Bram Moolenaar <bram@vim.org>
parents: 4619
diff changeset
19 [1, 2, function('strlen')]
18ba89e06fab updated for version 7.3.1061
Bram Moolenaar <bram@vim.org>
parents: 4619
diff changeset
20 1
18ba89e06fab updated for version 7.3.1061
Bram Moolenaar <bram@vim.org>
parents: 4619
diff changeset
21 'asd'
18ba89e06fab updated for version 7.3.1061
Bram Moolenaar <bram@vim.org>
parents: 4619
diff changeset
22 2
18ba89e06fab updated for version 7.3.1061
Bram Moolenaar <bram@vim.org>
parents: 4619
diff changeset
23 True
18ba89e06fab updated for version 7.3.1061
Bram Moolenaar <bram@vim.org>
parents: 4619
diff changeset
24 False
18ba89e06fab updated for version 7.3.1061
Bram Moolenaar <bram@vim.org>
parents: 4619
diff changeset
25 True
18ba89e06fab updated for version 7.3.1061
Bram Moolenaar <bram@vim.org>
parents: 4619
diff changeset
26 False
18ba89e06fab updated for version 7.3.1061
Bram Moolenaar <bram@vim.org>
parents: 4619
diff changeset
27 [b'0']
18ba89e06fab updated for version 7.3.1061
Bram Moolenaar <bram@vim.org>
parents: 4619
diff changeset
28 {'0': -1}
4698
2db005052371 updated for version 7.3.1096
Bram Moolenaar <bram@vim.org>
parents: 4684
diff changeset
29 (b'0', -1)
4627
18ba89e06fab updated for version 7.3.1061
Bram Moolenaar <bram@vim.org>
parents: 4619
diff changeset
30 None
18ba89e06fab updated for version 7.3.1061
Bram Moolenaar <bram@vim.org>
parents: 4619
diff changeset
31 []
3618
c052f3b79b99 updated for version 7.3.569
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
32 [0, 1, 2, 3]
c052f3b79b99 updated for version 7.3.569
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
33 [0, 1, 2, 3]
c052f3b79b99 updated for version 7.3.569
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
34 [0, 1, 3]
c052f3b79b99 updated for version 7.3.569
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
35 [0, 1]
c052f3b79b99 updated for version 7.3.569
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
36 [0, 1]
c052f3b79b99 updated for version 7.3.569
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
37 [0, 1]
c052f3b79b99 updated for version 7.3.569
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
38 [0, 1, 2, 3]
c052f3b79b99 updated for version 7.3.569
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
39 [0, 1, 2, 3]
c052f3b79b99 updated for version 7.3.569
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
40 [0, 2, 3]
c052f3b79b99 updated for version 7.3.569
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
41 [2, 3]
c052f3b79b99 updated for version 7.3.569
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
42 [2, 3]
c052f3b79b99 updated for version 7.3.569
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
43 [2, 3]
c052f3b79b99 updated for version 7.3.569
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
44 ['a', 0, 1, 2, 3]
c052f3b79b99 updated for version 7.3.569
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
45 [0, 'b', 2, 3]
c052f3b79b99 updated for version 7.3.569
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
46 [0, 1, 'c']
c052f3b79b99 updated for version 7.3.569
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
47 [0, 1, 2, 3, 'd']
c052f3b79b99 updated for version 7.3.569
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
48 [0, 1, 2, 'e', 3]
c052f3b79b99 updated for version 7.3.569
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
49 ['f', 2, 3]
c052f3b79b99 updated for version 7.3.569
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
50 [0, 1, 'g', 2, 3]
c052f3b79b99 updated for version 7.3.569
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
51 ['h']
c052f3b79b99 updated for version 7.3.569
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
52 [0, 1, 2, 3]
c052f3b79b99 updated for version 7.3.569
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
53 [function('New'), function('DictNew'), 'NewStart', 1, 2, 3, 'NewEnd']
c052f3b79b99 updated for version 7.3.569
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
54 [function('New'), function('DictNew'), 'NewStart', 1, 2, 3, 'NewEnd', 'DictNewStart', 1, 2, 3, 'DictNewEnd', {'a': 'b'}]
c052f3b79b99 updated for version 7.3.569
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
55 [function('New'), function('DictNew'), 'NewStart', 1, 2, 3, 'NewEnd', 'DictNewStart', 1, 2, 3, 'DictNewEnd', {'a': 'b'}, 'New']
c052f3b79b99 updated for version 7.3.569
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
56 Vim(py3):E725:
c052f3b79b99 updated for version 7.3.569
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
57 Vim(py3):E117:
c052f3b79b99 updated for version 7.3.569
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
58 [0.0, 0.0]
4315
9f3da1dea7c0 updated for version 7.3.907
Bram Moolenaar <bram@vim.org>
parents: 4149
diff changeset
59 KeyError
3802
e75da4a3225d updated for version 7.3.659
Bram Moolenaar <bram@vim.org>
parents: 3618
diff changeset
60 TypeError
e75da4a3225d updated for version 7.3.659
Bram Moolenaar <bram@vim.org>
parents: 3618
diff changeset
61 TypeError
e75da4a3225d updated for version 7.3.659
Bram Moolenaar <bram@vim.org>
parents: 3618
diff changeset
62 ValueError
e75da4a3225d updated for version 7.3.659
Bram Moolenaar <bram@vim.org>
parents: 3618
diff changeset
63 TypeError
e75da4a3225d updated for version 7.3.659
Bram Moolenaar <bram@vim.org>
parents: 3618
diff changeset
64 TypeError
4627
18ba89e06fab updated for version 7.3.1061
Bram Moolenaar <bram@vim.org>
parents: 4619
diff changeset
65 KeyError
18ba89e06fab updated for version 7.3.1061
Bram Moolenaar <bram@vim.org>
parents: 4619
diff changeset
66 KeyError
3828
fd6ef931aa77 updated for version 7.3.672
Bram Moolenaar <bram@vim.org>
parents: 3802
diff changeset
67 d : locked:0;scope:0
fd6ef931aa77 updated for version 7.3.672
Bram Moolenaar <bram@vim.org>
parents: 3802
diff changeset
68 dl : locked:1;scope:0
fd6ef931aa77 updated for version 7.3.672
Bram Moolenaar <bram@vim.org>
parents: 3802
diff changeset
69 v: : locked:2;scope:1
fd6ef931aa77 updated for version 7.3.672
Bram Moolenaar <bram@vim.org>
parents: 3802
diff changeset
70 g: : locked:0;scope:2
fd6ef931aa77 updated for version 7.3.672
Bram Moolenaar <bram@vim.org>
parents: 3802
diff changeset
71 d:{'abc': 1}
fd6ef931aa77 updated for version 7.3.672
Bram Moolenaar <bram@vim.org>
parents: 3802
diff changeset
72 dl:{'def': 1}
fd6ef931aa77 updated for version 7.3.672
Bram Moolenaar <bram@vim.org>
parents: 3802
diff changeset
73 l : locked:0
fd6ef931aa77 updated for version 7.3.672
Bram Moolenaar <bram@vim.org>
parents: 3802
diff changeset
74 ll : locked:1
fd6ef931aa77 updated for version 7.3.672
Bram Moolenaar <bram@vim.org>
parents: 3802
diff changeset
75 l:[0]
fd6ef931aa77 updated for version 7.3.672
Bram Moolenaar <bram@vim.org>
parents: 3802
diff changeset
76 ll:[1]
3618
c052f3b79b99 updated for version 7.3.569
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
77 [0, 1, 2]
c052f3b79b99 updated for version 7.3.569
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
78 ['a', 'b']
c052f3b79b99 updated for version 7.3.569
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
79 ['c', 1]
c052f3b79b99 updated for version 7.3.569
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
80 ['d', ['e']]
c052f3b79b99 updated for version 7.3.569
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
81 0.0
4486
8fe768bc1234 updated for version 7.3.991
Bram Moolenaar <bram@vim.org>
parents: 4431
diff changeset
82 "\0": Vim(let):E859:
8fe768bc1234 updated for version 7.3.991
Bram Moolenaar <bram@vim.org>
parents: 4431
diff changeset
83 {"\0": 1}: Vim(let):E859:
4149
5e17a12a3b14 updated for version 7.3.827
Bram Moolenaar <bram@vim.org>
parents: 4109
diff changeset
84 undefined_name: Vim(let):Trace
4486
8fe768bc1234 updated for version 7.3.991
Bram Moolenaar <bram@vim.org>
parents: 4431
diff changeset
85 vim: Vim(let):E859:
4109
3b2a771abb39 updated for version 7.3.808
Bram Moolenaar <bram@vim.org>
parents: 3828
diff changeset
86 [1]
3b2a771abb39 updated for version 7.3.808
Bram Moolenaar <bram@vim.org>
parents: 3828
diff changeset
87 [1, 10, 11, 10, 11, 10, 11, 10, 11, 10, 11, 10, 1]
4323
f1eab4f77a6f updated for version 7.3.911
Bram Moolenaar <bram@vim.org>
parents: 4315
diff changeset
88 Abc
f1eab4f77a6f updated for version 7.3.911
Bram Moolenaar <bram@vim.org>
parents: 4315
diff changeset
89 bac
f1eab4f77a6f updated for version 7.3.911
Bram Moolenaar <bram@vim.org>
parents: 4315
diff changeset
90 def
f1eab4f77a6f updated for version 7.3.911
Bram Moolenaar <bram@vim.org>
parents: 4315
diff changeset
91 bar
4413
fa90ebf2c8f3 updated for version 7.3.955
Bram Moolenaar <bram@vim.org>
parents: 4405
diff changeset
92 jkl
4350
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
93 >>> paste
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
94 p/gopts1: False
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
95 p/wopts1! KeyError
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
96 inv: 2! KeyError
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
97 wopts1! KeyError
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
98 wopts2! KeyError
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
99 wopts3! KeyError
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
100 p/bopts1! KeyError
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
101 inv: 2! KeyError
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
102 bopts1! KeyError
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
103 bopts2! KeyError
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
104 bopts3! KeyError
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
105 G: 1
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
106 W: 1:1 2:1 3:1 4:1
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
107 B: 1:1 2:1 3:1 4:1
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
108 del wopts3! KeyError
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
109 del bopts3! KeyError
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
110 G: 1
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
111 W: 1:1 2:1 3:1 4:1
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
112 B: 1:1 2:1 3:1 4:1
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
113 >>> previewheight
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
114 p/gopts1: 12
4405
907b1f035ee7 updated for version 7.3.951
Bram Moolenaar <bram@vim.org>
parents: 4399
diff changeset
115 inv: 'a'! TypeError
4350
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
116 p/wopts1! KeyError
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
117 inv: 'a'! KeyError
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
118 wopts1! KeyError
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
119 wopts2! KeyError
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
120 wopts3! KeyError
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
121 p/bopts1! KeyError
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
122 inv: 'a'! KeyError
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
123 bopts1! KeyError
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
124 bopts2! KeyError
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
125 bopts3! KeyError
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
126 G: 5
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
127 W: 1:5 2:5 3:5 4:5
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
128 B: 1:5 2:5 3:5 4:5
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
129 del wopts3! KeyError
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
130 del bopts3! KeyError
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
131 G: 5
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
132 W: 1:5 2:5 3:5 4:5
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
133 B: 1:5 2:5 3:5 4:5
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
134 >>> operatorfunc
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
135 p/gopts1: b''
4405
907b1f035ee7 updated for version 7.3.951
Bram Moolenaar <bram@vim.org>
parents: 4399
diff changeset
136 inv: 2! TypeError
4350
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
137 p/wopts1! KeyError
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
138 inv: 2! KeyError
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
139 wopts1! KeyError
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
140 wopts2! KeyError
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
141 wopts3! KeyError
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
142 p/bopts1! KeyError
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
143 inv: 2! KeyError
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
144 bopts1! KeyError
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
145 bopts2! KeyError
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
146 bopts3! KeyError
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
147 G: 'A'
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
148 W: 1:'A' 2:'A' 3:'A' 4:'A'
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
149 B: 1:'A' 2:'A' 3:'A' 4:'A'
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
150 del wopts3! KeyError
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
151 del bopts3! KeyError
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
152 G: 'A'
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
153 W: 1:'A' 2:'A' 3:'A' 4:'A'
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
154 B: 1:'A' 2:'A' 3:'A' 4:'A'
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
155 >>> number
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
156 p/gopts1! KeyError
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
157 inv: 0! KeyError
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
158 gopts1! KeyError
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
159 p/wopts1: False
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
160 p/bopts1! KeyError
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
161 inv: 0! KeyError
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
162 bopts1! KeyError
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
163 bopts2! KeyError
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
164 bopts3! KeyError
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
165 G: 0
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
166 W: 1:1 2:1 3:0 4:0
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
167 B: 1:1 2:1 3:0 4:0
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
168 del wopts3! ValueError
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
169 del bopts3! KeyError
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
170 G: 0
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
171 W: 1:1 2:1 3:0 4:0
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
172 B: 1:1 2:1 3:0 4:0
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
173 >>> numberwidth
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
174 p/gopts1! KeyError
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
175 inv: -100! KeyError
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
176 gopts1! KeyError
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
177 p/wopts1: 8
4513
cadb57fbb781 updated for version 7.3.1004
Bram Moolenaar <bram@vim.org>
parents: 4511
diff changeset
178 inv: -100! error
4350
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
179 p/bopts1! KeyError
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
180 inv: -100! KeyError
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
181 bopts1! KeyError
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
182 bopts2! KeyError
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
183 bopts3! KeyError
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
184 G: 8
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
185 W: 1:3 2:5 3:2 4:8
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
186 B: 1:3 2:5 3:2 4:8
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
187 del wopts3! ValueError
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
188 del bopts3! KeyError
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
189 G: 8
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
190 W: 1:3 2:5 3:2 4:8
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
191 B: 1:3 2:5 3:2 4:8
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
192 >>> colorcolumn
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
193 p/gopts1! KeyError
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
194 inv: 'abc'! KeyError
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
195 gopts1! KeyError
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
196 p/wopts1: b''
4513
cadb57fbb781 updated for version 7.3.1004
Bram Moolenaar <bram@vim.org>
parents: 4511
diff changeset
197 inv: 'abc'! error
4350
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
198 p/bopts1! KeyError
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
199 inv: 'abc'! KeyError
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
200 bopts1! KeyError
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
201 bopts2! KeyError
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
202 bopts3! KeyError
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
203 G: ''
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
204 W: 1:'+2' 2:'+3' 3:'+1' 4:''
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
205 B: 1:'+2' 2:'+3' 3:'+1' 4:''
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
206 del wopts3! ValueError
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
207 del bopts3! KeyError
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
208 G: ''
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
209 W: 1:'+2' 2:'+3' 3:'+1' 4:''
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
210 B: 1:'+2' 2:'+3' 3:'+1' 4:''
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
211 >>> statusline
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
212 p/gopts1: b''
4405
907b1f035ee7 updated for version 7.3.951
Bram Moolenaar <bram@vim.org>
parents: 4399
diff changeset
213 inv: 0! TypeError
4350
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
214 p/wopts1: None
4405
907b1f035ee7 updated for version 7.3.951
Bram Moolenaar <bram@vim.org>
parents: 4399
diff changeset
215 inv: 0! TypeError
4350
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
216 p/bopts1! KeyError
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
217 inv: 0! KeyError
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
218 bopts1! KeyError
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
219 bopts2! KeyError
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
220 bopts3! KeyError
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
221 G: '1'
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
222 W: 1:'2' 2:'4' 3:'1' 4:'1'
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
223 B: 1:'2' 2:'4' 3:'1' 4:'1'
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
224 del bopts3! KeyError
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
225 G: '1'
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
226 W: 1:'2' 2:'1' 3:'1' 4:'1'
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
227 B: 1:'2' 2:'1' 3:'1' 4:'1'
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
228 >>> autoindent
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
229 p/gopts1! KeyError
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
230 inv: 2! KeyError
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
231 gopts1! KeyError
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
232 p/wopts1! KeyError
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
233 inv: 2! KeyError
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
234 wopts1! KeyError
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
235 wopts2! KeyError
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
236 wopts3! KeyError
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
237 p/bopts1: False
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
238 G: 0
4393
80eea7a9d6b9 updated for version 7.3.945
Bram Moolenaar <bram@vim.org>
parents: 4389
diff changeset
239 W: 1:0 2:1 3:0 4:1
80eea7a9d6b9 updated for version 7.3.945
Bram Moolenaar <bram@vim.org>
parents: 4389
diff changeset
240 B: 1:0 2:1 3:0 4:1
4350
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
241 del wopts3! KeyError
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
242 del bopts3! ValueError
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
243 G: 0
4393
80eea7a9d6b9 updated for version 7.3.945
Bram Moolenaar <bram@vim.org>
parents: 4389
diff changeset
244 W: 1:0 2:1 3:0 4:1
80eea7a9d6b9 updated for version 7.3.945
Bram Moolenaar <bram@vim.org>
parents: 4389
diff changeset
245 B: 1:0 2:1 3:0 4:1
4427
0a94ac379769 updated for version 7.3.962
Bram Moolenaar <bram@vim.org>
parents: 4425
diff changeset
246 >>> shiftwidth
4350
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
247 p/gopts1! KeyError
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
248 inv: 3! KeyError
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
249 gopts1! KeyError
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
250 p/wopts1! KeyError
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
251 inv: 3! KeyError
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
252 wopts1! KeyError
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
253 wopts2! KeyError
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
254 wopts3! KeyError
4427
0a94ac379769 updated for version 7.3.962
Bram Moolenaar <bram@vim.org>
parents: 4425
diff changeset
255 p/bopts1: 8
0a94ac379769 updated for version 7.3.962
Bram Moolenaar <bram@vim.org>
parents: 4425
diff changeset
256 G: 8
0a94ac379769 updated for version 7.3.962
Bram Moolenaar <bram@vim.org>
parents: 4425
diff changeset
257 W: 1:0 2:2 3:8 4:1
0a94ac379769 updated for version 7.3.962
Bram Moolenaar <bram@vim.org>
parents: 4425
diff changeset
258 B: 1:0 2:2 3:8 4:1
4350
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
259 del wopts3! KeyError
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
260 del bopts3! ValueError
4427
0a94ac379769 updated for version 7.3.962
Bram Moolenaar <bram@vim.org>
parents: 4425
diff changeset
261 G: 8
0a94ac379769 updated for version 7.3.962
Bram Moolenaar <bram@vim.org>
parents: 4425
diff changeset
262 W: 1:0 2:2 3:8 4:1
0a94ac379769 updated for version 7.3.962
Bram Moolenaar <bram@vim.org>
parents: 4425
diff changeset
263 B: 1:0 2:2 3:8 4:1
4350
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
264 >>> omnifunc
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
265 p/gopts1! KeyError
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
266 inv: 1! KeyError
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
267 gopts1! KeyError
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
268 p/wopts1! KeyError
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
269 inv: 1! KeyError
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
270 wopts1! KeyError
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
271 wopts2! KeyError
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
272 wopts3! KeyError
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
273 p/bopts1: b''
4405
907b1f035ee7 updated for version 7.3.951
Bram Moolenaar <bram@vim.org>
parents: 4399
diff changeset
274 inv: 1! TypeError
4350
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
275 G: ''
4393
80eea7a9d6b9 updated for version 7.3.945
Bram Moolenaar <bram@vim.org>
parents: 4389
diff changeset
276 W: 1:'A' 2:'B' 3:'' 4:'C'
80eea7a9d6b9 updated for version 7.3.945
Bram Moolenaar <bram@vim.org>
parents: 4389
diff changeset
277 B: 1:'A' 2:'B' 3:'' 4:'C'
4350
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
278 del wopts3! KeyError
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
279 del bopts3! ValueError
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
280 G: ''
4393
80eea7a9d6b9 updated for version 7.3.945
Bram Moolenaar <bram@vim.org>
parents: 4389
diff changeset
281 W: 1:'A' 2:'B' 3:'' 4:'C'
80eea7a9d6b9 updated for version 7.3.945
Bram Moolenaar <bram@vim.org>
parents: 4389
diff changeset
282 B: 1:'A' 2:'B' 3:'' 4:'C'
4350
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
283 >>> preserveindent
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
284 p/gopts1! KeyError
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
285 inv: 2! KeyError
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
286 gopts1! KeyError
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
287 p/wopts1! KeyError
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
288 inv: 2! KeyError
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
289 wopts1! KeyError
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
290 wopts2! KeyError
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
291 wopts3! KeyError
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
292 p/bopts1: False
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
293 G: 0
4393
80eea7a9d6b9 updated for version 7.3.945
Bram Moolenaar <bram@vim.org>
parents: 4389
diff changeset
294 W: 1:0 2:1 3:0 4:1
80eea7a9d6b9 updated for version 7.3.945
Bram Moolenaar <bram@vim.org>
parents: 4389
diff changeset
295 B: 1:0 2:1 3:0 4:1
4350
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
296 del wopts3! KeyError
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
297 del bopts3! ValueError
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
298 G: 0
4393
80eea7a9d6b9 updated for version 7.3.945
Bram Moolenaar <bram@vim.org>
parents: 4389
diff changeset
299 W: 1:0 2:1 3:0 4:1
80eea7a9d6b9 updated for version 7.3.945
Bram Moolenaar <bram@vim.org>
parents: 4389
diff changeset
300 B: 1:0 2:1 3:0 4:1
4350
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
301 >>> path
4684
79522bb17125 updated for version 7.3.1089
Bram Moolenaar <bram@vim.org>
parents: 4663
diff changeset
302 p/gopts1: b'.,..,,'
4405
907b1f035ee7 updated for version 7.3.951
Bram Moolenaar <bram@vim.org>
parents: 4399
diff changeset
303 inv: 0! TypeError
4350
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
304 p/wopts1! KeyError
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
305 inv: 0! KeyError
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
306 wopts1! KeyError
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
307 wopts2! KeyError
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
308 wopts3! KeyError
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
309 p/bopts1: None
4405
907b1f035ee7 updated for version 7.3.951
Bram Moolenaar <bram@vim.org>
parents: 4399
diff changeset
310 inv: 0! TypeError
4350
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
311 G: '.,,'
4393
80eea7a9d6b9 updated for version 7.3.945
Bram Moolenaar <bram@vim.org>
parents: 4389
diff changeset
312 W: 1:'.,,' 2:',,' 3:'.,,' 4:'.'
80eea7a9d6b9 updated for version 7.3.945
Bram Moolenaar <bram@vim.org>
parents: 4389
diff changeset
313 B: 1:'.,,' 2:',,' 3:'.,,' 4:'.'
4350
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
314 del wopts3! KeyError
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
315 G: '.,,'
4393
80eea7a9d6b9 updated for version 7.3.945
Bram Moolenaar <bram@vim.org>
parents: 4389
diff changeset
316 W: 1:'.,,' 2:',,' 3:'.,,' 4:'.,,'
80eea7a9d6b9 updated for version 7.3.945
Bram Moolenaar <bram@vim.org>
parents: 4389
diff changeset
317 B: 1:'.,,' 2:',,' 3:'.,,' 4:'.,,'
4389
736b8e18a3bc updated for version 7.3.943
Bram Moolenaar <bram@vim.org>
parents: 4350
diff changeset
318 First line
736b8e18a3bc updated for version 7.3.943
Bram Moolenaar <bram@vim.org>
parents: 4350
diff changeset
319 First line
736b8e18a3bc updated for version 7.3.943
Bram Moolenaar <bram@vim.org>
parents: 4350
diff changeset
320 def
736b8e18a3bc updated for version 7.3.943
Bram Moolenaar <bram@vim.org>
parents: 4350
diff changeset
321 First line
736b8e18a3bc updated for version 7.3.943
Bram Moolenaar <bram@vim.org>
parents: 4350
diff changeset
322 Second line
736b8e18a3bc updated for version 7.3.943
Bram Moolenaar <bram@vim.org>
parents: 4350
diff changeset
323 Third line
736b8e18a3bc updated for version 7.3.943
Bram Moolenaar <bram@vim.org>
parents: 4350
diff changeset
324 (7, 2)
736b8e18a3bc updated for version 7.3.943
Bram Moolenaar <bram@vim.org>
parents: 4350
diff changeset
325 <buffer test87.in><buffer >
736b8e18a3bc updated for version 7.3.943
Bram Moolenaar <bram@vim.org>
parents: 4350
diff changeset
326 baz
736b8e18a3bc updated for version 7.3.943
Bram Moolenaar <bram@vim.org>
parents: 4350
diff changeset
327 bar
736b8e18a3bc updated for version 7.3.943
Bram Moolenaar <bram@vim.org>
parents: 4350
diff changeset
328 Second line
736b8e18a3bc updated for version 7.3.943
Bram Moolenaar <bram@vim.org>
parents: 4350
diff changeset
329 Third line
736b8e18a3bc updated for version 7.3.943
Bram Moolenaar <bram@vim.org>
parents: 4350
diff changeset
330 foo
4589
fa39483a1363 updated for version 7.3.1042
Bram Moolenaar <bram@vim.org>
parents: 4513
diff changeset
331 1:BufFilePre:1
4613
219b2fcad60d updated for version 7.3.1054
Bram Moolenaar <bram@vim.org>
parents: 4599
diff changeset
332 1:BufFilePost:1
4589
fa39483a1363 updated for version 7.3.1042
Bram Moolenaar <bram@vim.org>
parents: 4513
diff changeset
333 testdir/foo
fa39483a1363 updated for version 7.3.1042
Bram Moolenaar <bram@vim.org>
parents: 4513
diff changeset
334 5:BufFilePre:5
fa39483a1363 updated for version 7.3.1042
Bram Moolenaar <bram@vim.org>
parents: 4513
diff changeset
335 5:BufFilePost:5
fa39483a1363 updated for version 7.3.1042
Bram Moolenaar <bram@vim.org>
parents: 4513
diff changeset
336 testdir/bar
fa39483a1363 updated for version 7.3.1042
Bram Moolenaar <bram@vim.org>
parents: 4513
diff changeset
337 1:BufFilePre:1
4613
219b2fcad60d updated for version 7.3.1054
Bram Moolenaar <bram@vim.org>
parents: 4599
diff changeset
338 1:BufFilePost:1
4589
fa39483a1363 updated for version 7.3.1042
Bram Moolenaar <bram@vim.org>
parents: 4513
diff changeset
339 testdir/test87.in
4593
0cf552b325b5 updated for version 7.3.1044
Bram Moolenaar <bram@vim.org>
parents: 4589
diff changeset
340 valid: b:False, cb:True
4397
a84f21892563 updated for version 7.3.947
Bram Moolenaar <bram@vim.org>
parents: 4393
diff changeset
341 i:<buffer test87.in>
a84f21892563 updated for version 7.3.947
Bram Moolenaar <bram@vim.org>
parents: 4393
diff changeset
342 i2:<buffer test87.in>
a84f21892563 updated for version 7.3.947
Bram Moolenaar <bram@vim.org>
parents: 4393
diff changeset
343 i:<buffer a>
a84f21892563 updated for version 7.3.947
Bram Moolenaar <bram@vim.org>
parents: 4393
diff changeset
344 i3:<buffer test87.in>
a84f21892563 updated for version 7.3.947
Bram Moolenaar <bram@vim.org>
parents: 4393
diff changeset
345 1:<buffer test87.in>=<buffer test87.in>
4589
fa39483a1363 updated for version 7.3.1042
Bram Moolenaar <bram@vim.org>
parents: 4513
diff changeset
346 8:<buffer a>=<buffer a>
fa39483a1363 updated for version 7.3.1042
Bram Moolenaar <bram@vim.org>
parents: 4513
diff changeset
347 9:<buffer b>=<buffer b>
fa39483a1363 updated for version 7.3.1042
Bram Moolenaar <bram@vim.org>
parents: 4513
diff changeset
348 10:<buffer c>=<buffer c>
4397
a84f21892563 updated for version 7.3.947
Bram Moolenaar <bram@vim.org>
parents: 4393
diff changeset
349 4
a84f21892563 updated for version 7.3.947
Bram Moolenaar <bram@vim.org>
parents: 4393
diff changeset
350 i4:<buffer test87.in>
a84f21892563 updated for version 7.3.947
Bram Moolenaar <bram@vim.org>
parents: 4393
diff changeset
351 i4:<buffer test87.in>
a84f21892563 updated for version 7.3.947
Bram Moolenaar <bram@vim.org>
parents: 4393
diff changeset
352 StopIteration
4413
fa90ebf2c8f3 updated for version 7.3.955
Bram Moolenaar <bram@vim.org>
parents: 4405
diff changeset
353 Number of tabs: 4
fa90ebf2c8f3 updated for version 7.3.955
Bram Moolenaar <bram@vim.org>
parents: 4405
diff changeset
354 Current tab pages:
fa90ebf2c8f3 updated for version 7.3.955
Bram Moolenaar <bram@vim.org>
parents: 4405
diff changeset
355 <tabpage 0>(1): 1 windows, current is <window object (unknown)>
fa90ebf2c8f3 updated for version 7.3.955
Bram Moolenaar <bram@vim.org>
parents: 4405
diff changeset
356 Windows:
4593
0cf552b325b5 updated for version 7.3.1044
Bram Moolenaar <bram@vim.org>
parents: 4589
diff changeset
357 <window object (unknown)>(1): displays buffer <buffer test87.in>; cursor is at (37, 0)
4413
fa90ebf2c8f3 updated for version 7.3.955
Bram Moolenaar <bram@vim.org>
parents: 4405
diff changeset
358 <tabpage 1>(2): 1 windows, current is <window object (unknown)>
fa90ebf2c8f3 updated for version 7.3.955
Bram Moolenaar <bram@vim.org>
parents: 4405
diff changeset
359 Windows:
4431
7d81f4e96728 updated for version 7.3.964
Bram Moolenaar <bram@vim.org>
parents: 4427
diff changeset
360 <window object (unknown)>(1): displays buffer <buffer 0>; cursor is at (1, 0)
4413
fa90ebf2c8f3 updated for version 7.3.955
Bram Moolenaar <bram@vim.org>
parents: 4405
diff changeset
361 <tabpage 2>(3): 2 windows, current is <window object (unknown)>
fa90ebf2c8f3 updated for version 7.3.955
Bram Moolenaar <bram@vim.org>
parents: 4405
diff changeset
362 Windows:
4431
7d81f4e96728 updated for version 7.3.964
Bram Moolenaar <bram@vim.org>
parents: 4427
diff changeset
363 <window object (unknown)>(1): displays buffer <buffer a.1>; cursor is at (1, 0)
7d81f4e96728 updated for version 7.3.964
Bram Moolenaar <bram@vim.org>
parents: 4427
diff changeset
364 <window object (unknown)>(2): displays buffer <buffer 1>; cursor is at (1, 0)
4413
fa90ebf2c8f3 updated for version 7.3.955
Bram Moolenaar <bram@vim.org>
parents: 4405
diff changeset
365 <tabpage 3>(4): 4 windows, current is <window 0>
fa90ebf2c8f3 updated for version 7.3.955
Bram Moolenaar <bram@vim.org>
parents: 4405
diff changeset
366 Windows:
fa90ebf2c8f3 updated for version 7.3.955
Bram Moolenaar <bram@vim.org>
parents: 4405
diff changeset
367 <window 0>(1): displays buffer <buffer c.2>; cursor is at (1, 0)
fa90ebf2c8f3 updated for version 7.3.955
Bram Moolenaar <bram@vim.org>
parents: 4405
diff changeset
368 <window 1>(2): displays buffer <buffer b.2>; cursor is at (1, 0)
fa90ebf2c8f3 updated for version 7.3.955
Bram Moolenaar <bram@vim.org>
parents: 4405
diff changeset
369 <window 2>(3): displays buffer <buffer a.2>; cursor is at (1, 0)
fa90ebf2c8f3 updated for version 7.3.955
Bram Moolenaar <bram@vim.org>
parents: 4405
diff changeset
370 <window 3>(4): displays buffer <buffer 2>; cursor is at (1, 0)
fa90ebf2c8f3 updated for version 7.3.955
Bram Moolenaar <bram@vim.org>
parents: 4405
diff changeset
371 Number of windows in current tab page: 4
fa90ebf2c8f3 updated for version 7.3.955
Bram Moolenaar <bram@vim.org>
parents: 4405
diff changeset
372 Current tab page: <tabpage 3>
fa90ebf2c8f3 updated for version 7.3.955
Bram Moolenaar <bram@vim.org>
parents: 4405
diff changeset
373 Current window: <window 0>: <window 0> is <window 0>
fa90ebf2c8f3 updated for version 7.3.955
Bram Moolenaar <bram@vim.org>
parents: 4405
diff changeset
374 Current buffer: <buffer c.2>: <buffer c.2> is <buffer c.2> is <buffer c.2>
fa90ebf2c8f3 updated for version 7.3.955
Bram Moolenaar <bram@vim.org>
parents: 4405
diff changeset
375 ValueError at assigning foreign tab window
fa90ebf2c8f3 updated for version 7.3.955
Bram Moolenaar <bram@vim.org>
parents: 4405
diff changeset
376 Type error at assigning None to vim.current.window
fa90ebf2c8f3 updated for version 7.3.955
Bram Moolenaar <bram@vim.org>
parents: 4405
diff changeset
377 Type error at assigning None to vim.current.tabpage
fa90ebf2c8f3 updated for version 7.3.955
Bram Moolenaar <bram@vim.org>
parents: 4405
diff changeset
378 Type error at assigning None to vim.current.buffer
fa90ebf2c8f3 updated for version 7.3.955
Bram Moolenaar <bram@vim.org>
parents: 4405
diff changeset
379 Current tab page: <tabpage 2>
fa90ebf2c8f3 updated for version 7.3.955
Bram Moolenaar <bram@vim.org>
parents: 4405
diff changeset
380 Current window: <window 0>
fa90ebf2c8f3 updated for version 7.3.955
Bram Moolenaar <bram@vim.org>
parents: 4405
diff changeset
381 Current buffer: <buffer test87.in>
fa90ebf2c8f3 updated for version 7.3.955
Bram Moolenaar <bram@vim.org>
parents: 4405
diff changeset
382 Current line: 'Type error at assigning None to vim.current.buffer'
4593
0cf552b325b5 updated for version 7.3.1044
Bram Moolenaar <bram@vim.org>
parents: 4589
diff changeset
383 w.valid: [True, False]
0cf552b325b5 updated for version 7.3.1044
Bram Moolenaar <bram@vim.org>
parents: 4589
diff changeset
384 t.valid: [True, False, True, False]
4496
ebd94eabfd80 updated for version 7.3.996
Bram Moolenaar <bram@vim.org>
parents: 4486
diff changeset
385 vim.vars:Dictionary:True
ebd94eabfd80 updated for version 7.3.996
Bram Moolenaar <bram@vim.org>
parents: 4486
diff changeset
386 vim.options:Options:True
ebd94eabfd80 updated for version 7.3.996
Bram Moolenaar <bram@vim.org>
parents: 4486
diff changeset
387 vim.bindeval("{}"):Dictionary:True
ebd94eabfd80 updated for version 7.3.996
Bram Moolenaar <bram@vim.org>
parents: 4486
diff changeset
388 vim.bindeval("[]"):List:True
ebd94eabfd80 updated for version 7.3.996
Bram Moolenaar <bram@vim.org>
parents: 4486
diff changeset
389 vim.bindeval("function('tr')"):Function:True
ebd94eabfd80 updated for version 7.3.996
Bram Moolenaar <bram@vim.org>
parents: 4486
diff changeset
390 vim.current.buffer:Buffer:True
ebd94eabfd80 updated for version 7.3.996
Bram Moolenaar <bram@vim.org>
parents: 4486
diff changeset
391 vim.current.range:Range:True
ebd94eabfd80 updated for version 7.3.996
Bram Moolenaar <bram@vim.org>
parents: 4486
diff changeset
392 vim.current.window:Window:True
ebd94eabfd80 updated for version 7.3.996
Bram Moolenaar <bram@vim.org>
parents: 4486
diff changeset
393 vim.current.tabpage:TabPage:True
4599
89bec74fd793 updated for version 7.3.1047
Bram Moolenaar <bram@vim.org>
parents: 4593
diff changeset
394 current:__dir__,buffer,line,range,tabpage,window
89bec74fd793 updated for version 7.3.1047
Bram Moolenaar <bram@vim.org>
parents: 4593
diff changeset
395 buffer:__dir__,append,mark,name,number,options,range,valid,vars
89bec74fd793 updated for version 7.3.1047
Bram Moolenaar <bram@vim.org>
parents: 4593
diff changeset
396 window:__dir__,buffer,col,cursor,height,number,options,row,tabpage,valid,vars
89bec74fd793 updated for version 7.3.1047
Bram Moolenaar <bram@vim.org>
parents: 4593
diff changeset
397 tabpage:__dir__,number,valid,vars,window,windows
89bec74fd793 updated for version 7.3.1047
Bram Moolenaar <bram@vim.org>
parents: 4593
diff changeset
398 range:__dir__,append,end,start
4627
18ba89e06fab updated for version 7.3.1061
Bram Moolenaar <bram@vim.org>
parents: 4619
diff changeset
399 dictionary:__dir__,get,has_key,items,keys,locked,pop,popitem,scope,update,values
4599
89bec74fd793 updated for version 7.3.1047
Bram Moolenaar <bram@vim.org>
parents: 4593
diff changeset
400 list:__dir__,extend,locked
4631
4157fef7b950 updated for version 7.3.1063
Bram Moolenaar <bram@vim.org>
parents: 4629
diff changeset
401 function:__dir__,softspace
4599
89bec74fd793 updated for version 7.3.1047
Bram Moolenaar <bram@vim.org>
parents: 4593
diff changeset
402 output:__dir__,flush,softspace,write,writelines
4627
18ba89e06fab updated for version 7.3.1061
Bram Moolenaar <bram@vim.org>
parents: 4619
diff changeset
403 {}
18ba89e06fab updated for version 7.3.1061
Bram Moolenaar <bram@vim.org>
parents: 4619
diff changeset
404 {'a': 1}
18ba89e06fab updated for version 7.3.1061
Bram Moolenaar <bram@vim.org>
parents: 4619
diff changeset
405 {'a': 1}
4629
e4e48d4ee040 updated for version 7.3.1062
Bram Moolenaar <bram@vim.org>
parents: 4627
diff changeset
406 []
e4e48d4ee040 updated for version 7.3.1062
Bram Moolenaar <bram@vim.org>
parents: 4627
diff changeset
407 ['a', 'b', 'c']
4631
4157fef7b950 updated for version 7.3.1063
Bram Moolenaar <bram@vim.org>
parents: 4629
diff changeset
408 function('tr')
4619
90beab957ba9 updated for version 7.3.1057
Bram Moolenaar <bram@vim.org>
parents: 4613
diff changeset
409 '
90beab957ba9 updated for version 7.3.1057
Bram Moolenaar <bram@vim.org>
parents: 4613
diff changeset
410 abcdef
90beab957ba9 updated for version 7.3.1057
Bram Moolenaar <bram@vim.org>
parents: 4613
diff changeset
411 line :
90beab957ba9 updated for version 7.3.1057
Bram Moolenaar <bram@vim.org>
parents: 4613
diff changeset
412 abcdef
90beab957ba9 updated for version 7.3.1057
Bram Moolenaar <bram@vim.org>
parents: 4613
diff changeset
413 abc
90beab957ba9 updated for version 7.3.1057
Bram Moolenaar <bram@vim.org>
parents: 4613
diff changeset
414 line :
90beab957ba9 updated for version 7.3.1057
Bram Moolenaar <bram@vim.org>
parents: 4613
diff changeset
415 abc'
4627
18ba89e06fab updated for version 7.3.1061
Bram Moolenaar <bram@vim.org>
parents: 4619
diff changeset
416 ['a', 'dup_a']
4629
e4e48d4ee040 updated for version 7.3.1062
Bram Moolenaar <bram@vim.org>
parents: 4627
diff changeset
417 ['a', 'a']
e4e48d4ee040 updated for version 7.3.1062
Bram Moolenaar <bram@vim.org>
parents: 4627
diff changeset
418 ['a', 'b', 'c']
4631
4157fef7b950 updated for version 7.3.1063
Bram Moolenaar <bram@vim.org>
parents: 4629
diff changeset
419 [2, 2]
4157fef7b950 updated for version 7.3.1063
Bram Moolenaar <bram@vim.org>
parents: 4629
diff changeset
420 [2, 2]
4704
542af01979be updated for version 7.3.1099
Bram Moolenaar <bram@vim.org>
parents: 4698
diff changeset
421 b'testdir'
542af01979be updated for version 7.3.1099
Bram Moolenaar <bram@vim.org>
parents: 4698
diff changeset
422 test87.in
542af01979be updated for version 7.3.1099
Bram Moolenaar <bram@vim.org>
parents: 4698
diff changeset
423 b'src'
542af01979be updated for version 7.3.1099
Bram Moolenaar <bram@vim.org>
parents: 4698
diff changeset
424 testdir/test87.in
542af01979be updated for version 7.3.1099
Bram Moolenaar <bram@vim.org>
parents: 4698
diff changeset
425 b'testdir'
542af01979be updated for version 7.3.1099
Bram Moolenaar <bram@vim.org>
parents: 4698
diff changeset
426 test87.in
4637
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
427 > Output
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
428 >> OutputSetattr
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
429 del sys.stdout.softspace:(<class 'AttributeError'>, AttributeError("can't delete OutputObject attributes",))
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
430 sys.stdout.softspace = []:(<class 'TypeError'>, TypeError('softspace must be an integer',))
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
431 sys.stdout.attr = None:(<class 'AttributeError'>, AttributeError('invalid attribute',))
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
432 >> OutputWrite
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
433 sys.stdout.write(None):(<class 'TypeError'>, TypeError("Can't convert 'NoneType' object to str implicitly",))
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
434 >> OutputWriteLines
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
435 sys.stdout.writelines(None):(<class 'TypeError'>, TypeError("'NoneType' object is not iterable",))
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
436 sys.stdout.writelines([1]):(<class 'TypeError'>, TypeError('writelines() requires list of strings',))
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
437 >>> Testing *Iter* using sys.stdout.writelines(%s)
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
438 sys.stdout.writelines(FailingIter()):(<class 'NotImplementedError'>, NotImplementedError())
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
439 sys.stdout.writelines(FailingIterNext()):(<class 'NotImplementedError'>, NotImplementedError())
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
440 <<< Finished
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
441 > VimCommand
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
442 vim.command(1):(<class 'TypeError'>, TypeError('must be str, not int',))
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
443 > VimToPython
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
444 > VimEval
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
445 vim.eval(1):(<class 'TypeError'>, TypeError('must be str, not int',))
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
446 > VimEvalPy
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
447 vim.bindeval(1):(<class 'TypeError'>, TypeError('must be str, not int',))
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
448 > VimStrwidth
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
449 vim.strwidth(1):(<class 'TypeError'>, TypeError('must be str, not int',))
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
450 > Dictionary
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
451 >> DictionaryConstructor
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
452 vim.Dictionary("abc"):(<class 'ValueError'>, ValueError('expected sequence element of size 2',))
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
453 >> DictionarySetattr
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
454 del d.locked:(<class 'AttributeError'>, AttributeError('cannot delete vim.Dictionary attributes',))
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
455 d.locked = FailingTrue():(<class 'NotImplementedError'>, NotImplementedError())
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
456 vim.vvars.locked = False:(<class 'TypeError'>, TypeError('cannot modify fixed dictionary',))
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
457 d.scope = True:(<class 'AttributeError'>, AttributeError('cannot set this attribute',))
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
458 d.xxx = True:(<class 'AttributeError'>, AttributeError('cannot set this attribute',))
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
459 >> _DictionaryItem
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
460 d.get("a", 2, 3):(<class 'TypeError'>, TypeError('function takes at most 2 arguments (3 given)',))
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
461 >>> Testing StringToChars using d.get(%s)
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
462 d.get(1):(<class 'TypeError'>, TypeError('object must be string',))
4663
bce2051173f0 updated for version 7.3.1079
Bram Moolenaar <bram@vim.org>
parents: 4641
diff changeset
463 d.get(b"\0"):(<class 'TypeError'>, TypeError('expected bytes with no null',))
4637
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
464 d.get("\0"):(<class 'TypeError'>, TypeError('expected bytes with no null',))
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
465 <<< Finished
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
466 d.pop("a"):(<class 'KeyError'>, KeyError('a',))
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
467 dl.pop("a"):(<class 'vim.error'>, error('dict is locked',))
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
468 >> DictionaryIterNext
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
469 for i in ned: ned["a"] = 1:(<class 'RuntimeError'>, RuntimeError('hashtab changed during iteration',))
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
470 >> DictionaryAssItem
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
471 dl["b"] = 1:(<class 'vim.error'>, error('dict is locked',))
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
472 >>> Testing StringToChars using d[%s] = 1
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
473 d[1] = 1:(<class 'TypeError'>, TypeError('object must be string',))
4663
bce2051173f0 updated for version 7.3.1079
Bram Moolenaar <bram@vim.org>
parents: 4641
diff changeset
474 d[b"\0"] = 1:(<class 'TypeError'>, TypeError('expected bytes with no null',))
4637
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
475 d["\0"] = 1:(<class 'TypeError'>, TypeError('expected bytes with no null',))
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
476 <<< Finished
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
477 >>> Testing StringToChars using d["a"] = {%s : 1}
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
478 d["a"] = {1 : 1}:(<class 'TypeError'>, TypeError('object must be string',))
4663
bce2051173f0 updated for version 7.3.1079
Bram Moolenaar <bram@vim.org>
parents: 4641
diff changeset
479 d["a"] = {b"\0" : 1}:(<class 'TypeError'>, TypeError('expected bytes with no null',))
4637
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
480 d["a"] = {"\0" : 1}:(<class 'TypeError'>, TypeError('expected bytes with no null',))
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
481 <<< Finished
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
482 >>> Testing StringToChars using d["a"] = {"abc" : {%s : 1}}
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
483 d["a"] = {"abc" : {1 : 1}}:(<class 'TypeError'>, TypeError('object must be string',))
4663
bce2051173f0 updated for version 7.3.1079
Bram Moolenaar <bram@vim.org>
parents: 4641
diff changeset
484 d["a"] = {"abc" : {b"\0" : 1}}:(<class 'TypeError'>, TypeError('expected bytes with no null',))
4637
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
485 d["a"] = {"abc" : {"\0" : 1}}:(<class 'TypeError'>, TypeError('expected bytes with no null',))
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
486 <<< Finished
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
487 >>> Testing StringToChars using d["a"] = {"abc" : Mapping({%s : 1})}
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
488 d["a"] = {"abc" : Mapping({1 : 1})}:(<class 'TypeError'>, TypeError('object must be string',))
4663
bce2051173f0 updated for version 7.3.1079
Bram Moolenaar <bram@vim.org>
parents: 4641
diff changeset
489 d["a"] = {"abc" : Mapping({b"\0" : 1})}:(<class 'TypeError'>, TypeError('expected bytes with no null',))
4637
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
490 d["a"] = {"abc" : Mapping({"\0" : 1})}:(<class 'TypeError'>, TypeError('expected bytes with no null',))
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
491 <<< Finished
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
492 >>> Testing *Iter* using d["a"] = {"abc" : %s}
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
493 d["a"] = {"abc" : FailingIter()}:(<class 'TypeError'>, TypeError('unable to convert to vim structure',))
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
494 d["a"] = {"abc" : FailingIterNext()}:(<class 'NotImplementedError'>, NotImplementedError())
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
495 <<< Finished
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
496 >>> Testing ConvertFromPyObject using d["a"] = {"abc" : %s}
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
497 d["a"] = {"abc" : None}:(<class 'TypeError'>, TypeError('unable to convert to vim structure',))
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
498 d["a"] = {"abc" : {"": 1}}:(<class 'ValueError'>, ValueError('empty keys are not allowed',))
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
499 d["a"] = {"abc" : FailingMapping()}:(<class 'NotImplementedError'>, NotImplementedError())
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
500 d["a"] = {"abc" : FailingMappingKey()}:(<class 'NotImplementedError'>, NotImplementedError())
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
501 <<< Finished
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
502 >>> Testing StringToChars using d["a"] = Mapping({%s : 1})
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
503 d["a"] = Mapping({1 : 1}):(<class 'TypeError'>, TypeError('object must be string',))
4663
bce2051173f0 updated for version 7.3.1079
Bram Moolenaar <bram@vim.org>
parents: 4641
diff changeset
504 d["a"] = Mapping({b"\0" : 1}):(<class 'TypeError'>, TypeError('expected bytes with no null',))
4637
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
505 d["a"] = Mapping({"\0" : 1}):(<class 'TypeError'>, TypeError('expected bytes with no null',))
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
506 <<< Finished
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
507 >>> Testing StringToChars using d["a"] = Mapping({"abc" : {%s : 1}})
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
508 d["a"] = Mapping({"abc" : {1 : 1}}):(<class 'TypeError'>, TypeError('object must be string',))
4663
bce2051173f0 updated for version 7.3.1079
Bram Moolenaar <bram@vim.org>
parents: 4641
diff changeset
509 d["a"] = Mapping({"abc" : {b"\0" : 1}}):(<class 'TypeError'>, TypeError('expected bytes with no null',))
4637
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
510 d["a"] = Mapping({"abc" : {"\0" : 1}}):(<class 'TypeError'>, TypeError('expected bytes with no null',))
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
511 <<< Finished
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
512 >>> Testing StringToChars using d["a"] = Mapping({"abc" : Mapping({%s : 1})})
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
513 d["a"] = Mapping({"abc" : Mapping({1 : 1})}):(<class 'TypeError'>, TypeError('object must be string',))
4663
bce2051173f0 updated for version 7.3.1079
Bram Moolenaar <bram@vim.org>
parents: 4641
diff changeset
514 d["a"] = Mapping({"abc" : Mapping({b"\0" : 1})}):(<class 'TypeError'>, TypeError('expected bytes with no null',))
4637
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
515 d["a"] = Mapping({"abc" : Mapping({"\0" : 1})}):(<class 'TypeError'>, TypeError('expected bytes with no null',))
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
516 <<< Finished
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
517 >>> Testing *Iter* using d["a"] = Mapping({"abc" : %s})
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
518 d["a"] = Mapping({"abc" : FailingIter()}):(<class 'TypeError'>, TypeError('unable to convert to vim structure',))
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
519 d["a"] = Mapping({"abc" : FailingIterNext()}):(<class 'NotImplementedError'>, NotImplementedError())
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
520 <<< Finished
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
521 >>> Testing ConvertFromPyObject using d["a"] = Mapping({"abc" : %s})
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
522 d["a"] = Mapping({"abc" : None}):(<class 'TypeError'>, TypeError('unable to convert to vim structure',))
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
523 d["a"] = Mapping({"abc" : {"": 1}}):(<class 'ValueError'>, ValueError('empty keys are not allowed',))
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
524 d["a"] = Mapping({"abc" : FailingMapping()}):(<class 'NotImplementedError'>, NotImplementedError())
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
525 d["a"] = Mapping({"abc" : FailingMappingKey()}):(<class 'NotImplementedError'>, NotImplementedError())
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
526 <<< Finished
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
527 >>> Testing *Iter* using d["a"] = %s
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
528 d["a"] = FailingIter():(<class 'TypeError'>, TypeError('unable to convert to vim structure',))
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
529 d["a"] = FailingIterNext():(<class 'NotImplementedError'>, NotImplementedError())
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
530 <<< Finished
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
531 >>> Testing ConvertFromPyObject using d["a"] = %s
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
532 d["a"] = None:(<class 'TypeError'>, TypeError('unable to convert to vim structure',))
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
533 d["a"] = {"": 1}:(<class 'ValueError'>, ValueError('empty keys are not allowed',))
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
534 d["a"] = FailingMapping():(<class 'NotImplementedError'>, NotImplementedError())
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
535 d["a"] = FailingMappingKey():(<class 'NotImplementedError'>, NotImplementedError())
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
536 <<< Finished
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
537 >> DictionaryUpdate
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
538 >>> kwargs
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
539 >>> iter
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
540 d.update(FailingMapping()):(<class 'NotImplementedError'>, NotImplementedError())
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
541 d.update([FailingIterNext()]):(<class 'NotImplementedError'>, NotImplementedError())
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
542 >>> Testing *Iter* using d.update(%s)
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
543 d.update(FailingIter()):(<class 'NotImplementedError'>, NotImplementedError())
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
544 d.update(FailingIterNext()):(<class 'NotImplementedError'>, NotImplementedError())
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
545 <<< Finished
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
546 >>> Testing StringToChars using d.update({%s : 1})
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
547 d.update({1 : 1}):(<class 'TypeError'>, TypeError('object must be string',))
4663
bce2051173f0 updated for version 7.3.1079
Bram Moolenaar <bram@vim.org>
parents: 4641
diff changeset
548 d.update({b"\0" : 1}):(<class 'TypeError'>, TypeError('expected bytes with no null',))
4637
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
549 d.update({"\0" : 1}):(<class 'TypeError'>, TypeError('expected bytes with no null',))
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
550 <<< Finished
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
551 >>> Testing StringToChars using d.update({"abc" : {%s : 1}})
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
552 d.update({"abc" : {1 : 1}}):(<class 'TypeError'>, TypeError('object must be string',))
4663
bce2051173f0 updated for version 7.3.1079
Bram Moolenaar <bram@vim.org>
parents: 4641
diff changeset
553 d.update({"abc" : {b"\0" : 1}}):(<class 'TypeError'>, TypeError('expected bytes with no null',))
4637
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
554 d.update({"abc" : {"\0" : 1}}):(<class 'TypeError'>, TypeError('expected bytes with no null',))
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
555 <<< Finished
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
556 >>> Testing StringToChars using d.update({"abc" : Mapping({%s : 1})})
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
557 d.update({"abc" : Mapping({1 : 1})}):(<class 'TypeError'>, TypeError('object must be string',))
4663
bce2051173f0 updated for version 7.3.1079
Bram Moolenaar <bram@vim.org>
parents: 4641
diff changeset
558 d.update({"abc" : Mapping({b"\0" : 1})}):(<class 'TypeError'>, TypeError('expected bytes with no null',))
4637
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
559 d.update({"abc" : Mapping({"\0" : 1})}):(<class 'TypeError'>, TypeError('expected bytes with no null',))
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
560 <<< Finished
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
561 >>> Testing *Iter* using d.update({"abc" : %s})
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
562 d.update({"abc" : FailingIter()}):(<class 'TypeError'>, TypeError('unable to convert to vim structure',))
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
563 d.update({"abc" : FailingIterNext()}):(<class 'NotImplementedError'>, NotImplementedError())
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
564 <<< Finished
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
565 >>> Testing ConvertFromPyObject using d.update({"abc" : %s})
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
566 d.update({"abc" : None}):(<class 'TypeError'>, TypeError('unable to convert to vim structure',))
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
567 d.update({"abc" : {"": 1}}):(<class 'ValueError'>, ValueError('empty keys are not allowed',))
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
568 d.update({"abc" : FailingMapping()}):(<class 'NotImplementedError'>, NotImplementedError())
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
569 d.update({"abc" : FailingMappingKey()}):(<class 'NotImplementedError'>, NotImplementedError())
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
570 <<< Finished
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
571 >>> Testing StringToChars using d.update(Mapping({%s : 1}))
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
572 d.update(Mapping({1 : 1})):(<class 'TypeError'>, TypeError('object must be string',))
4663
bce2051173f0 updated for version 7.3.1079
Bram Moolenaar <bram@vim.org>
parents: 4641
diff changeset
573 d.update(Mapping({b"\0" : 1})):(<class 'TypeError'>, TypeError('expected bytes with no null',))
4637
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
574 d.update(Mapping({"\0" : 1})):(<class 'TypeError'>, TypeError('expected bytes with no null',))
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
575 <<< Finished
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
576 >>> Testing StringToChars using d.update(Mapping({"abc" : {%s : 1}}))
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
577 d.update(Mapping({"abc" : {1 : 1}})):(<class 'TypeError'>, TypeError('object must be string',))
4663
bce2051173f0 updated for version 7.3.1079
Bram Moolenaar <bram@vim.org>
parents: 4641
diff changeset
578 d.update(Mapping({"abc" : {b"\0" : 1}})):(<class 'TypeError'>, TypeError('expected bytes with no null',))
4637
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
579 d.update(Mapping({"abc" : {"\0" : 1}})):(<class 'TypeError'>, TypeError('expected bytes with no null',))
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
580 <<< Finished
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
581 >>> Testing StringToChars using d.update(Mapping({"abc" : Mapping({%s : 1})}))
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
582 d.update(Mapping({"abc" : Mapping({1 : 1})})):(<class 'TypeError'>, TypeError('object must be string',))
4663
bce2051173f0 updated for version 7.3.1079
Bram Moolenaar <bram@vim.org>
parents: 4641
diff changeset
583 d.update(Mapping({"abc" : Mapping({b"\0" : 1})})):(<class 'TypeError'>, TypeError('expected bytes with no null',))
4637
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
584 d.update(Mapping({"abc" : Mapping({"\0" : 1})})):(<class 'TypeError'>, TypeError('expected bytes with no null',))
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
585 <<< Finished
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
586 >>> Testing *Iter* using d.update(Mapping({"abc" : %s}))
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
587 d.update(Mapping({"abc" : FailingIter()})):(<class 'TypeError'>, TypeError('unable to convert to vim structure',))
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
588 d.update(Mapping({"abc" : FailingIterNext()})):(<class 'NotImplementedError'>, NotImplementedError())
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
589 <<< Finished
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
590 >>> Testing ConvertFromPyObject using d.update(Mapping({"abc" : %s}))
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
591 d.update(Mapping({"abc" : None})):(<class 'TypeError'>, TypeError('unable to convert to vim structure',))
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
592 d.update(Mapping({"abc" : {"": 1}})):(<class 'ValueError'>, ValueError('empty keys are not allowed',))
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
593 d.update(Mapping({"abc" : FailingMapping()})):(<class 'NotImplementedError'>, NotImplementedError())
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
594 d.update(Mapping({"abc" : FailingMappingKey()})):(<class 'NotImplementedError'>, NotImplementedError())
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
595 <<< Finished
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
596 >>> Testing *Iter* using d.update(%s)
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
597 d.update(FailingIter()):(<class 'NotImplementedError'>, NotImplementedError())
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
598 d.update(FailingIterNext()):(<class 'NotImplementedError'>, NotImplementedError())
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
599 <<< Finished
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
600 >>> Testing ConvertFromPyObject using d.update(%s)
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
601 d.update(None):(<class 'TypeError'>, TypeError("'NoneType' object is not iterable",))
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
602 d.update({"": 1}):(<class 'ValueError'>, ValueError('empty keys are not allowed',))
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
603 d.update(FailingMapping()):(<class 'NotImplementedError'>, NotImplementedError())
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
604 d.update(FailingMappingKey()):(<class 'NotImplementedError'>, NotImplementedError())
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
605 <<< Finished
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
606 >>> Testing StringToChars using d.update(((%s, 0),))
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
607 d.update(((1, 0),)):(<class 'TypeError'>, TypeError('object must be string',))
4663
bce2051173f0 updated for version 7.3.1079
Bram Moolenaar <bram@vim.org>
parents: 4641
diff changeset
608 d.update(((b"\0", 0),)):(<class 'TypeError'>, TypeError('expected bytes with no null',))
4637
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
609 d.update((("\0", 0),)):(<class 'TypeError'>, TypeError('expected bytes with no null',))
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
610 <<< Finished
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
611 >>> Testing StringToChars using d.update((("a", {%s : 1}),))
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
612 d.update((("a", {1 : 1}),)):(<class 'TypeError'>, TypeError('object must be string',))
4663
bce2051173f0 updated for version 7.3.1079
Bram Moolenaar <bram@vim.org>
parents: 4641
diff changeset
613 d.update((("a", {b"\0" : 1}),)):(<class 'TypeError'>, TypeError('expected bytes with no null',))
4637
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
614 d.update((("a", {"\0" : 1}),)):(<class 'TypeError'>, TypeError('expected bytes with no null',))
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
615 <<< Finished
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
616 >>> Testing StringToChars using d.update((("a", {"abc" : {%s : 1}}),))
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
617 d.update((("a", {"abc" : {1 : 1}}),)):(<class 'TypeError'>, TypeError('object must be string',))
4663
bce2051173f0 updated for version 7.3.1079
Bram Moolenaar <bram@vim.org>
parents: 4641
diff changeset
618 d.update((("a", {"abc" : {b"\0" : 1}}),)):(<class 'TypeError'>, TypeError('expected bytes with no null',))
4637
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
619 d.update((("a", {"abc" : {"\0" : 1}}),)):(<class 'TypeError'>, TypeError('expected bytes with no null',))
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
620 <<< Finished
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
621 >>> Testing StringToChars using d.update((("a", {"abc" : Mapping({%s : 1})}),))
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
622 d.update((("a", {"abc" : Mapping({1 : 1})}),)):(<class 'TypeError'>, TypeError('object must be string',))
4663
bce2051173f0 updated for version 7.3.1079
Bram Moolenaar <bram@vim.org>
parents: 4641
diff changeset
623 d.update((("a", {"abc" : Mapping({b"\0" : 1})}),)):(<class 'TypeError'>, TypeError('expected bytes with no null',))
4637
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
624 d.update((("a", {"abc" : Mapping({"\0" : 1})}),)):(<class 'TypeError'>, TypeError('expected bytes with no null',))
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
625 <<< Finished
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
626 >>> Testing *Iter* using d.update((("a", {"abc" : %s}),))
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
627 d.update((("a", {"abc" : FailingIter()}),)):(<class 'TypeError'>, TypeError('unable to convert to vim structure',))
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
628 d.update((("a", {"abc" : FailingIterNext()}),)):(<class 'NotImplementedError'>, NotImplementedError())
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
629 <<< Finished
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
630 >>> Testing ConvertFromPyObject using d.update((("a", {"abc" : %s}),))
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
631 d.update((("a", {"abc" : None}),)):(<class 'TypeError'>, TypeError('unable to convert to vim structure',))
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
632 d.update((("a", {"abc" : {"": 1}}),)):(<class 'ValueError'>, ValueError('empty keys are not allowed',))
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
633 d.update((("a", {"abc" : FailingMapping()}),)):(<class 'NotImplementedError'>, NotImplementedError())
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
634 d.update((("a", {"abc" : FailingMappingKey()}),)):(<class 'NotImplementedError'>, NotImplementedError())
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
635 <<< Finished
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
636 >>> Testing StringToChars using d.update((("a", Mapping({%s : 1})),))
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
637 d.update((("a", Mapping({1 : 1})),)):(<class 'TypeError'>, TypeError('object must be string',))
4663
bce2051173f0 updated for version 7.3.1079
Bram Moolenaar <bram@vim.org>
parents: 4641
diff changeset
638 d.update((("a", Mapping({b"\0" : 1})),)):(<class 'TypeError'>, TypeError('expected bytes with no null',))
4637
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
639 d.update((("a", Mapping({"\0" : 1})),)):(<class 'TypeError'>, TypeError('expected bytes with no null',))
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
640 <<< Finished
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
641 >>> Testing StringToChars using d.update((("a", Mapping({"abc" : {%s : 1}})),))
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
642 d.update((("a", Mapping({"abc" : {1 : 1}})),)):(<class 'TypeError'>, TypeError('object must be string',))
4663
bce2051173f0 updated for version 7.3.1079
Bram Moolenaar <bram@vim.org>
parents: 4641
diff changeset
643 d.update((("a", Mapping({"abc" : {b"\0" : 1}})),)):(<class 'TypeError'>, TypeError('expected bytes with no null',))
4637
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
644 d.update((("a", Mapping({"abc" : {"\0" : 1}})),)):(<class 'TypeError'>, TypeError('expected bytes with no null',))
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
645 <<< Finished
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
646 >>> Testing StringToChars using d.update((("a", Mapping({"abc" : Mapping({%s : 1})})),))
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
647 d.update((("a", Mapping({"abc" : Mapping({1 : 1})})),)):(<class 'TypeError'>, TypeError('object must be string',))
4663
bce2051173f0 updated for version 7.3.1079
Bram Moolenaar <bram@vim.org>
parents: 4641
diff changeset
648 d.update((("a", Mapping({"abc" : Mapping({b"\0" : 1})})),)):(<class 'TypeError'>, TypeError('expected bytes with no null',))
4637
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
649 d.update((("a", Mapping({"abc" : Mapping({"\0" : 1})})),)):(<class 'TypeError'>, TypeError('expected bytes with no null',))
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
650 <<< Finished
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
651 >>> Testing *Iter* using d.update((("a", Mapping({"abc" : %s})),))
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
652 d.update((("a", Mapping({"abc" : FailingIter()})),)):(<class 'TypeError'>, TypeError('unable to convert to vim structure',))
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
653 d.update((("a", Mapping({"abc" : FailingIterNext()})),)):(<class 'NotImplementedError'>, NotImplementedError())
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
654 <<< Finished
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
655 >>> Testing ConvertFromPyObject using d.update((("a", Mapping({"abc" : %s})),))
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
656 d.update((("a", Mapping({"abc" : None})),)):(<class 'TypeError'>, TypeError('unable to convert to vim structure',))
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
657 d.update((("a", Mapping({"abc" : {"": 1}})),)):(<class 'ValueError'>, ValueError('empty keys are not allowed',))
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
658 d.update((("a", Mapping({"abc" : FailingMapping()})),)):(<class 'NotImplementedError'>, NotImplementedError())
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
659 d.update((("a", Mapping({"abc" : FailingMappingKey()})),)):(<class 'NotImplementedError'>, NotImplementedError())
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
660 <<< Finished
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
661 >>> Testing *Iter* using d.update((("a", %s),))
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
662 d.update((("a", FailingIter()),)):(<class 'TypeError'>, TypeError('unable to convert to vim structure',))
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
663 d.update((("a", FailingIterNext()),)):(<class 'NotImplementedError'>, NotImplementedError())
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
664 <<< Finished
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
665 >>> Testing ConvertFromPyObject using d.update((("a", %s),))
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
666 d.update((("a", None),)):(<class 'TypeError'>, TypeError('unable to convert to vim structure',))
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
667 d.update((("a", {"": 1}),)):(<class 'ValueError'>, ValueError('empty keys are not allowed',))
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
668 d.update((("a", FailingMapping()),)):(<class 'NotImplementedError'>, NotImplementedError())
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
669 d.update((("a", FailingMappingKey()),)):(<class 'NotImplementedError'>, NotImplementedError())
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
670 <<< Finished
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
671 >> DictionaryPopItem
4698
2db005052371 updated for version 7.3.1096
Bram Moolenaar <bram@vim.org>
parents: 4684
diff changeset
672 d.popitem(1, 2):(<class 'TypeError'>, TypeError('popitem() takes no arguments (2 given)',))
4637
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
673 >> DictionaryHasKey
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
674 d.has_key():(<class 'TypeError'>, TypeError('function takes exactly 1 argument (0 given)',))
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
675 > List
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
676 >> ListConstructor
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
677 vim.List(1, 2):(<class 'TypeError'>, TypeError('function takes at most 1 argument (2 given)',))
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
678 vim.List(a=1):(<class 'TypeError'>, TypeError('list constructor does not accept keyword arguments',))
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
679 >>> Testing *Iter* using vim.List(%s)
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
680 vim.List(FailingIter()):(<class 'NotImplementedError'>, NotImplementedError())
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
681 vim.List(FailingIterNext()):(<class 'NotImplementedError'>, NotImplementedError())
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
682 <<< Finished
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
683 >>> Testing StringToChars using vim.List([{%s : 1}])
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
684 vim.List([{1 : 1}]):(<class 'TypeError'>, TypeError('object must be string',))
4663
bce2051173f0 updated for version 7.3.1079
Bram Moolenaar <bram@vim.org>
parents: 4641
diff changeset
685 vim.List([{b"\0" : 1}]):(<class 'TypeError'>, TypeError('expected bytes with no null',))
4637
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
686 vim.List([{"\0" : 1}]):(<class 'TypeError'>, TypeError('expected bytes with no null',))
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
687 <<< Finished
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
688 >>> Testing StringToChars using vim.List([{"abc" : {%s : 1}}])
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
689 vim.List([{"abc" : {1 : 1}}]):(<class 'TypeError'>, TypeError('object must be string',))
4663
bce2051173f0 updated for version 7.3.1079
Bram Moolenaar <bram@vim.org>
parents: 4641
diff changeset
690 vim.List([{"abc" : {b"\0" : 1}}]):(<class 'TypeError'>, TypeError('expected bytes with no null',))
4637
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
691 vim.List([{"abc" : {"\0" : 1}}]):(<class 'TypeError'>, TypeError('expected bytes with no null',))
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
692 <<< Finished
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
693 >>> Testing StringToChars using vim.List([{"abc" : Mapping({%s : 1})}])
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
694 vim.List([{"abc" : Mapping({1 : 1})}]):(<class 'TypeError'>, TypeError('object must be string',))
4663
bce2051173f0 updated for version 7.3.1079
Bram Moolenaar <bram@vim.org>
parents: 4641
diff changeset
695 vim.List([{"abc" : Mapping({b"\0" : 1})}]):(<class 'TypeError'>, TypeError('expected bytes with no null',))
4637
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
696 vim.List([{"abc" : Mapping({"\0" : 1})}]):(<class 'TypeError'>, TypeError('expected bytes with no null',))
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
697 <<< Finished
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
698 >>> Testing *Iter* using vim.List([{"abc" : %s}])
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
699 vim.List([{"abc" : FailingIter()}]):(<class 'TypeError'>, TypeError('unable to convert to vim structure',))
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
700 vim.List([{"abc" : FailingIterNext()}]):(<class 'NotImplementedError'>, NotImplementedError())
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
701 <<< Finished
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
702 >>> Testing ConvertFromPyObject using vim.List([{"abc" : %s}])
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
703 vim.List([{"abc" : None}]):(<class 'TypeError'>, TypeError('unable to convert to vim structure',))
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
704 vim.List([{"abc" : {"": 1}}]):(<class 'ValueError'>, ValueError('empty keys are not allowed',))
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
705 vim.List([{"abc" : FailingMapping()}]):(<class 'NotImplementedError'>, NotImplementedError())
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
706 vim.List([{"abc" : FailingMappingKey()}]):(<class 'NotImplementedError'>, NotImplementedError())
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
707 <<< Finished
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
708 >>> Testing StringToChars using vim.List([Mapping({%s : 1})])
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
709 vim.List([Mapping({1 : 1})]):(<class 'TypeError'>, TypeError('object must be string',))
4663
bce2051173f0 updated for version 7.3.1079
Bram Moolenaar <bram@vim.org>
parents: 4641
diff changeset
710 vim.List([Mapping({b"\0" : 1})]):(<class 'TypeError'>, TypeError('expected bytes with no null',))
4637
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
711 vim.List([Mapping({"\0" : 1})]):(<class 'TypeError'>, TypeError('expected bytes with no null',))
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
712 <<< Finished
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
713 >>> Testing StringToChars using vim.List([Mapping({"abc" : {%s : 1}})])
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
714 vim.List([Mapping({"abc" : {1 : 1}})]):(<class 'TypeError'>, TypeError('object must be string',))
4663
bce2051173f0 updated for version 7.3.1079
Bram Moolenaar <bram@vim.org>
parents: 4641
diff changeset
715 vim.List([Mapping({"abc" : {b"\0" : 1}})]):(<class 'TypeError'>, TypeError('expected bytes with no null',))
4637
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
716 vim.List([Mapping({"abc" : {"\0" : 1}})]):(<class 'TypeError'>, TypeError('expected bytes with no null',))
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
717 <<< Finished
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
718 >>> Testing StringToChars using vim.List([Mapping({"abc" : Mapping({%s : 1})})])
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
719 vim.List([Mapping({"abc" : Mapping({1 : 1})})]):(<class 'TypeError'>, TypeError('object must be string',))
4663
bce2051173f0 updated for version 7.3.1079
Bram Moolenaar <bram@vim.org>
parents: 4641
diff changeset
720 vim.List([Mapping({"abc" : Mapping({b"\0" : 1})})]):(<class 'TypeError'>, TypeError('expected bytes with no null',))
4637
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
721 vim.List([Mapping({"abc" : Mapping({"\0" : 1})})]):(<class 'TypeError'>, TypeError('expected bytes with no null',))
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
722 <<< Finished
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
723 >>> Testing *Iter* using vim.List([Mapping({"abc" : %s})])
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
724 vim.List([Mapping({"abc" : FailingIter()})]):(<class 'TypeError'>, TypeError('unable to convert to vim structure',))
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
725 vim.List([Mapping({"abc" : FailingIterNext()})]):(<class 'NotImplementedError'>, NotImplementedError())
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
726 <<< Finished
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
727 >>> Testing ConvertFromPyObject using vim.List([Mapping({"abc" : %s})])
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
728 vim.List([Mapping({"abc" : None})]):(<class 'TypeError'>, TypeError('unable to convert to vim structure',))
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
729 vim.List([Mapping({"abc" : {"": 1}})]):(<class 'ValueError'>, ValueError('empty keys are not allowed',))
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
730 vim.List([Mapping({"abc" : FailingMapping()})]):(<class 'NotImplementedError'>, NotImplementedError())
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
731 vim.List([Mapping({"abc" : FailingMappingKey()})]):(<class 'NotImplementedError'>, NotImplementedError())
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
732 <<< Finished
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
733 >>> Testing *Iter* using vim.List([%s])
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
734 vim.List([FailingIter()]):(<class 'TypeError'>, TypeError('unable to convert to vim structure',))
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
735 vim.List([FailingIterNext()]):(<class 'NotImplementedError'>, NotImplementedError())
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
736 <<< Finished
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
737 >>> Testing ConvertFromPyObject using vim.List([%s])
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
738 vim.List([None]):(<class 'TypeError'>, TypeError('unable to convert to vim structure',))
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
739 vim.List([{"": 1}]):(<class 'ValueError'>, ValueError('empty keys are not allowed',))
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
740 vim.List([FailingMapping()]):(<class 'NotImplementedError'>, NotImplementedError())
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
741 vim.List([FailingMappingKey()]):(<class 'NotImplementedError'>, NotImplementedError())
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
742 <<< Finished
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
743 >> ListItem
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
744 l[1000]:(<class 'IndexError'>, IndexError('list index out of range',))
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
745 >> ListAssItem
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
746 ll[1] = 2:(<class 'vim.error'>, error('list is locked',))
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
747 l[1000] = 3:(<class 'IndexError'>, IndexError('list index out of range',))
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
748 >> ListAssSlice
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
749 ll[1:100] = "abc":(<class 'vim.error'>, error('list is locked',))
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
750 >>> Testing *Iter* using l[:] = %s
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
751 l[:] = FailingIter():(<class 'NotImplementedError'>, NotImplementedError())
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
752 l[:] = FailingIterNext()::(<class 'NotImplementedError'>, NotImplementedError())
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
753 <<< Finished
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
754 >>> Testing StringToChars using l[:] = [{%s : 1}]
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
755 l[:] = [{1 : 1}]:(<class 'TypeError'>, TypeError('object must be string',))
4663
bce2051173f0 updated for version 7.3.1079
Bram Moolenaar <bram@vim.org>
parents: 4641
diff changeset
756 l[:] = [{b"\0" : 1}]:(<class 'TypeError'>, TypeError('expected bytes with no null',))
4637
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
757 l[:] = [{"\0" : 1}]:(<class 'TypeError'>, TypeError('expected bytes with no null',))
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
758 <<< Finished
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
759 >>> Testing StringToChars using l[:] = [{"abc" : {%s : 1}}]
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
760 l[:] = [{"abc" : {1 : 1}}]:(<class 'TypeError'>, TypeError('object must be string',))
4663
bce2051173f0 updated for version 7.3.1079
Bram Moolenaar <bram@vim.org>
parents: 4641
diff changeset
761 l[:] = [{"abc" : {b"\0" : 1}}]:(<class 'TypeError'>, TypeError('expected bytes with no null',))
4637
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
762 l[:] = [{"abc" : {"\0" : 1}}]:(<class 'TypeError'>, TypeError('expected bytes with no null',))
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
763 <<< Finished
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
764 >>> Testing StringToChars using l[:] = [{"abc" : Mapping({%s : 1})}]
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
765 l[:] = [{"abc" : Mapping({1 : 1})}]:(<class 'TypeError'>, TypeError('object must be string',))
4663
bce2051173f0 updated for version 7.3.1079
Bram Moolenaar <bram@vim.org>
parents: 4641
diff changeset
766 l[:] = [{"abc" : Mapping({b"\0" : 1})}]:(<class 'TypeError'>, TypeError('expected bytes with no null',))
4637
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
767 l[:] = [{"abc" : Mapping({"\0" : 1})}]:(<class 'TypeError'>, TypeError('expected bytes with no null',))
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
768 <<< Finished
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
769 >>> Testing *Iter* using l[:] = [{"abc" : %s}]
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
770 l[:] = [{"abc" : FailingIter()}]:(<class 'TypeError'>, TypeError('unable to convert to vim structure',))
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
771 l[:] = [{"abc" : FailingIterNext()}]:(<class 'NotImplementedError'>, NotImplementedError())
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
772 <<< Finished
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
773 >>> Testing ConvertFromPyObject using l[:] = [{"abc" : %s}]
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
774 l[:] = [{"abc" : None}]:(<class 'TypeError'>, TypeError('unable to convert to vim structure',))
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
775 l[:] = [{"abc" : {"": 1}}]:(<class 'ValueError'>, ValueError('empty keys are not allowed',))
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
776 l[:] = [{"abc" : FailingMapping()}]:(<class 'NotImplementedError'>, NotImplementedError())
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
777 l[:] = [{"abc" : FailingMappingKey()}]:(<class 'NotImplementedError'>, NotImplementedError())
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
778 <<< Finished
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
779 >>> Testing StringToChars using l[:] = [Mapping({%s : 1})]
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
780 l[:] = [Mapping({1 : 1})]:(<class 'TypeError'>, TypeError('object must be string',))
4663
bce2051173f0 updated for version 7.3.1079
Bram Moolenaar <bram@vim.org>
parents: 4641
diff changeset
781 l[:] = [Mapping({b"\0" : 1})]:(<class 'TypeError'>, TypeError('expected bytes with no null',))
4637
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
782 l[:] = [Mapping({"\0" : 1})]:(<class 'TypeError'>, TypeError('expected bytes with no null',))
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
783 <<< Finished
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
784 >>> Testing StringToChars using l[:] = [Mapping({"abc" : {%s : 1}})]
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
785 l[:] = [Mapping({"abc" : {1 : 1}})]:(<class 'TypeError'>, TypeError('object must be string',))
4663
bce2051173f0 updated for version 7.3.1079
Bram Moolenaar <bram@vim.org>
parents: 4641
diff changeset
786 l[:] = [Mapping({"abc" : {b"\0" : 1}})]:(<class 'TypeError'>, TypeError('expected bytes with no null',))
4637
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
787 l[:] = [Mapping({"abc" : {"\0" : 1}})]:(<class 'TypeError'>, TypeError('expected bytes with no null',))
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
788 <<< Finished
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
789 >>> Testing StringToChars using l[:] = [Mapping({"abc" : Mapping({%s : 1})})]
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
790 l[:] = [Mapping({"abc" : Mapping({1 : 1})})]:(<class 'TypeError'>, TypeError('object must be string',))
4663
bce2051173f0 updated for version 7.3.1079
Bram Moolenaar <bram@vim.org>
parents: 4641
diff changeset
791 l[:] = [Mapping({"abc" : Mapping({b"\0" : 1})})]:(<class 'TypeError'>, TypeError('expected bytes with no null',))
4637
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
792 l[:] = [Mapping({"abc" : Mapping({"\0" : 1})})]:(<class 'TypeError'>, TypeError('expected bytes with no null',))
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
793 <<< Finished
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
794 >>> Testing *Iter* using l[:] = [Mapping({"abc" : %s})]
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
795 l[:] = [Mapping({"abc" : FailingIter()})]:(<class 'TypeError'>, TypeError('unable to convert to vim structure',))
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
796 l[:] = [Mapping({"abc" : FailingIterNext()})]:(<class 'NotImplementedError'>, NotImplementedError())
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
797 <<< Finished
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
798 >>> Testing ConvertFromPyObject using l[:] = [Mapping({"abc" : %s})]
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
799 l[:] = [Mapping({"abc" : None})]:(<class 'TypeError'>, TypeError('unable to convert to vim structure',))
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
800 l[:] = [Mapping({"abc" : {"": 1}})]:(<class 'ValueError'>, ValueError('empty keys are not allowed',))
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
801 l[:] = [Mapping({"abc" : FailingMapping()})]:(<class 'NotImplementedError'>, NotImplementedError())
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
802 l[:] = [Mapping({"abc" : FailingMappingKey()})]:(<class 'NotImplementedError'>, NotImplementedError())
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
803 <<< Finished
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
804 >>> Testing *Iter* using l[:] = [%s]
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
805 l[:] = [FailingIter()]:(<class 'TypeError'>, TypeError('unable to convert to vim structure',))
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
806 l[:] = [FailingIterNext()]:(<class 'NotImplementedError'>, NotImplementedError())
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
807 <<< Finished
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
808 >>> Testing ConvertFromPyObject using l[:] = [%s]
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
809 l[:] = [None]:(<class 'TypeError'>, TypeError('unable to convert to vim structure',))
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
810 l[:] = [{"": 1}]:(<class 'ValueError'>, ValueError('empty keys are not allowed',))
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
811 l[:] = [FailingMapping()]:(<class 'NotImplementedError'>, NotImplementedError())
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
812 l[:] = [FailingMappingKey()]:(<class 'NotImplementedError'>, NotImplementedError())
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
813 <<< Finished
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
814 >> ListConcatInPlace
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
815 >>> Testing *Iter* using l.extend(%s)
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
816 l.extend(FailingIter()):(<class 'NotImplementedError'>, NotImplementedError())
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
817 l.extend(FailingIterNext()):(<class 'NotImplementedError'>, NotImplementedError())
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
818 <<< Finished
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
819 >>> Testing StringToChars using l.extend([{%s : 1}])
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
820 l.extend([{1 : 1}]):(<class 'TypeError'>, TypeError('object must be string',))
4663
bce2051173f0 updated for version 7.3.1079
Bram Moolenaar <bram@vim.org>
parents: 4641
diff changeset
821 l.extend([{b"\0" : 1}]):(<class 'TypeError'>, TypeError('expected bytes with no null',))
4637
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
822 l.extend([{"\0" : 1}]):(<class 'TypeError'>, TypeError('expected bytes with no null',))
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
823 <<< Finished
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
824 >>> Testing StringToChars using l.extend([{"abc" : {%s : 1}}])
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
825 l.extend([{"abc" : {1 : 1}}]):(<class 'TypeError'>, TypeError('object must be string',))
4663
bce2051173f0 updated for version 7.3.1079
Bram Moolenaar <bram@vim.org>
parents: 4641
diff changeset
826 l.extend([{"abc" : {b"\0" : 1}}]):(<class 'TypeError'>, TypeError('expected bytes with no null',))
4637
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
827 l.extend([{"abc" : {"\0" : 1}}]):(<class 'TypeError'>, TypeError('expected bytes with no null',))
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
828 <<< Finished
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
829 >>> Testing StringToChars using l.extend([{"abc" : Mapping({%s : 1})}])
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
830 l.extend([{"abc" : Mapping({1 : 1})}]):(<class 'TypeError'>, TypeError('object must be string',))
4663
bce2051173f0 updated for version 7.3.1079
Bram Moolenaar <bram@vim.org>
parents: 4641
diff changeset
831 l.extend([{"abc" : Mapping({b"\0" : 1})}]):(<class 'TypeError'>, TypeError('expected bytes with no null',))
4637
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
832 l.extend([{"abc" : Mapping({"\0" : 1})}]):(<class 'TypeError'>, TypeError('expected bytes with no null',))
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
833 <<< Finished
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
834 >>> Testing *Iter* using l.extend([{"abc" : %s}])
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
835 l.extend([{"abc" : FailingIter()}]):(<class 'TypeError'>, TypeError('unable to convert to vim structure',))
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
836 l.extend([{"abc" : FailingIterNext()}]):(<class 'NotImplementedError'>, NotImplementedError())
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
837 <<< Finished
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
838 >>> Testing ConvertFromPyObject using l.extend([{"abc" : %s}])
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
839 l.extend([{"abc" : None}]):(<class 'TypeError'>, TypeError('unable to convert to vim structure',))
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
840 l.extend([{"abc" : {"": 1}}]):(<class 'ValueError'>, ValueError('empty keys are not allowed',))
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
841 l.extend([{"abc" : FailingMapping()}]):(<class 'NotImplementedError'>, NotImplementedError())
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
842 l.extend([{"abc" : FailingMappingKey()}]):(<class 'NotImplementedError'>, NotImplementedError())
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
843 <<< Finished
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
844 >>> Testing StringToChars using l.extend([Mapping({%s : 1})])
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
845 l.extend([Mapping({1 : 1})]):(<class 'TypeError'>, TypeError('object must be string',))
4663
bce2051173f0 updated for version 7.3.1079
Bram Moolenaar <bram@vim.org>
parents: 4641
diff changeset
846 l.extend([Mapping({b"\0" : 1})]):(<class 'TypeError'>, TypeError('expected bytes with no null',))
4637
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
847 l.extend([Mapping({"\0" : 1})]):(<class 'TypeError'>, TypeError('expected bytes with no null',))
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
848 <<< Finished
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
849 >>> Testing StringToChars using l.extend([Mapping({"abc" : {%s : 1}})])
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
850 l.extend([Mapping({"abc" : {1 : 1}})]):(<class 'TypeError'>, TypeError('object must be string',))
4663
bce2051173f0 updated for version 7.3.1079
Bram Moolenaar <bram@vim.org>
parents: 4641
diff changeset
851 l.extend([Mapping({"abc" : {b"\0" : 1}})]):(<class 'TypeError'>, TypeError('expected bytes with no null',))
4637
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
852 l.extend([Mapping({"abc" : {"\0" : 1}})]):(<class 'TypeError'>, TypeError('expected bytes with no null',))
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
853 <<< Finished
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
854 >>> Testing StringToChars using l.extend([Mapping({"abc" : Mapping({%s : 1})})])
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
855 l.extend([Mapping({"abc" : Mapping({1 : 1})})]):(<class 'TypeError'>, TypeError('object must be string',))
4663
bce2051173f0 updated for version 7.3.1079
Bram Moolenaar <bram@vim.org>
parents: 4641
diff changeset
856 l.extend([Mapping({"abc" : Mapping({b"\0" : 1})})]):(<class 'TypeError'>, TypeError('expected bytes with no null',))
4637
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
857 l.extend([Mapping({"abc" : Mapping({"\0" : 1})})]):(<class 'TypeError'>, TypeError('expected bytes with no null',))
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
858 <<< Finished
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
859 >>> Testing *Iter* using l.extend([Mapping({"abc" : %s})])
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
860 l.extend([Mapping({"abc" : FailingIter()})]):(<class 'TypeError'>, TypeError('unable to convert to vim structure',))
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
861 l.extend([Mapping({"abc" : FailingIterNext()})]):(<class 'NotImplementedError'>, NotImplementedError())
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
862 <<< Finished
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
863 >>> Testing ConvertFromPyObject using l.extend([Mapping({"abc" : %s})])
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
864 l.extend([Mapping({"abc" : None})]):(<class 'TypeError'>, TypeError('unable to convert to vim structure',))
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
865 l.extend([Mapping({"abc" : {"": 1}})]):(<class 'ValueError'>, ValueError('empty keys are not allowed',))
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
866 l.extend([Mapping({"abc" : FailingMapping()})]):(<class 'NotImplementedError'>, NotImplementedError())
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
867 l.extend([Mapping({"abc" : FailingMappingKey()})]):(<class 'NotImplementedError'>, NotImplementedError())
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
868 <<< Finished
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
869 >>> Testing *Iter* using l.extend([%s])
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
870 l.extend([FailingIter()]):(<class 'TypeError'>, TypeError('unable to convert to vim structure',))
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
871 l.extend([FailingIterNext()]):(<class 'NotImplementedError'>, NotImplementedError())
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
872 <<< Finished
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
873 >>> Testing ConvertFromPyObject using l.extend([%s])
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
874 l.extend([None]):(<class 'TypeError'>, TypeError('unable to convert to vim structure',))
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
875 l.extend([{"": 1}]):(<class 'ValueError'>, ValueError('empty keys are not allowed',))
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
876 l.extend([FailingMapping()]):(<class 'NotImplementedError'>, NotImplementedError())
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
877 l.extend([FailingMappingKey()]):(<class 'NotImplementedError'>, NotImplementedError())
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
878 <<< Finished
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
879 >> ListSetattr
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
880 del l.locked:(<class 'AttributeError'>, AttributeError('cannot delete vim.List attributes',))
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
881 l.locked = FailingTrue():(<class 'NotImplementedError'>, NotImplementedError())
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
882 l.xxx = True:(<class 'AttributeError'>, AttributeError('cannot set this attribute',))
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
883 > Function
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
884 >> FunctionConstructor
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
885 vim.Function("123"):(<class 'ValueError'>, ValueError('unnamed function does not exist',))
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
886 vim.Function("xxx_non_existent_function_xxx"):(<class 'ValueError'>, ValueError('function does not exist',))
4641
59e6c2bd68e3 updated for version 7.3.1068
Bram Moolenaar <bram@vim.org>
parents: 4637
diff changeset
887 vim.Function("xxx#non#existent#function#xxx"):NOT FAILED
4637
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
888 >> FunctionCall
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
889 >>> Testing StringToChars using f({%s : 1})
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
890 f({1 : 1}):(<class 'TypeError'>, TypeError('object must be string',))
4663
bce2051173f0 updated for version 7.3.1079
Bram Moolenaar <bram@vim.org>
parents: 4641
diff changeset
891 f({b"\0" : 1}):(<class 'TypeError'>, TypeError('expected bytes with no null',))
4637
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
892 f({"\0" : 1}):(<class 'TypeError'>, TypeError('expected bytes with no null',))
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
893 <<< Finished
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
894 >>> Testing StringToChars using f({"abc" : {%s : 1}})
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
895 f({"abc" : {1 : 1}}):(<class 'TypeError'>, TypeError('object must be string',))
4663
bce2051173f0 updated for version 7.3.1079
Bram Moolenaar <bram@vim.org>
parents: 4641
diff changeset
896 f({"abc" : {b"\0" : 1}}):(<class 'TypeError'>, TypeError('expected bytes with no null',))
4637
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
897 f({"abc" : {"\0" : 1}}):(<class 'TypeError'>, TypeError('expected bytes with no null',))
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
898 <<< Finished
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
899 >>> Testing StringToChars using f({"abc" : Mapping({%s : 1})})
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
900 f({"abc" : Mapping({1 : 1})}):(<class 'TypeError'>, TypeError('object must be string',))
4663
bce2051173f0 updated for version 7.3.1079
Bram Moolenaar <bram@vim.org>
parents: 4641
diff changeset
901 f({"abc" : Mapping({b"\0" : 1})}):(<class 'TypeError'>, TypeError('expected bytes with no null',))
4637
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
902 f({"abc" : Mapping({"\0" : 1})}):(<class 'TypeError'>, TypeError('expected bytes with no null',))
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
903 <<< Finished
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
904 >>> Testing *Iter* using f({"abc" : %s})
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
905 f({"abc" : FailingIter()}):(<class 'TypeError'>, TypeError('unable to convert to vim structure',))
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
906 f({"abc" : FailingIterNext()}):(<class 'NotImplementedError'>, NotImplementedError())
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
907 <<< Finished
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
908 >>> Testing ConvertFromPyObject using f({"abc" : %s})
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
909 f({"abc" : None}):(<class 'TypeError'>, TypeError('unable to convert to vim structure',))
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
910 f({"abc" : {"": 1}}):(<class 'ValueError'>, ValueError('empty keys are not allowed',))
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
911 f({"abc" : FailingMapping()}):(<class 'NotImplementedError'>, NotImplementedError())
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
912 f({"abc" : FailingMappingKey()}):(<class 'NotImplementedError'>, NotImplementedError())
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
913 <<< Finished
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
914 >>> Testing StringToChars using f(Mapping({%s : 1}))
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
915 f(Mapping({1 : 1})):(<class 'TypeError'>, TypeError('object must be string',))
4663
bce2051173f0 updated for version 7.3.1079
Bram Moolenaar <bram@vim.org>
parents: 4641
diff changeset
916 f(Mapping({b"\0" : 1})):(<class 'TypeError'>, TypeError('expected bytes with no null',))
4637
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
917 f(Mapping({"\0" : 1})):(<class 'TypeError'>, TypeError('expected bytes with no null',))
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
918 <<< Finished
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
919 >>> Testing StringToChars using f(Mapping({"abc" : {%s : 1}}))
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
920 f(Mapping({"abc" : {1 : 1}})):(<class 'TypeError'>, TypeError('object must be string',))
4663
bce2051173f0 updated for version 7.3.1079
Bram Moolenaar <bram@vim.org>
parents: 4641
diff changeset
921 f(Mapping({"abc" : {b"\0" : 1}})):(<class 'TypeError'>, TypeError('expected bytes with no null',))
4637
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
922 f(Mapping({"abc" : {"\0" : 1}})):(<class 'TypeError'>, TypeError('expected bytes with no null',))
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
923 <<< Finished
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
924 >>> Testing StringToChars using f(Mapping({"abc" : Mapping({%s : 1})}))
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
925 f(Mapping({"abc" : Mapping({1 : 1})})):(<class 'TypeError'>, TypeError('object must be string',))
4663
bce2051173f0 updated for version 7.3.1079
Bram Moolenaar <bram@vim.org>
parents: 4641
diff changeset
926 f(Mapping({"abc" : Mapping({b"\0" : 1})})):(<class 'TypeError'>, TypeError('expected bytes with no null',))
4637
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
927 f(Mapping({"abc" : Mapping({"\0" : 1})})):(<class 'TypeError'>, TypeError('expected bytes with no null',))
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
928 <<< Finished
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
929 >>> Testing *Iter* using f(Mapping({"abc" : %s}))
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
930 f(Mapping({"abc" : FailingIter()})):(<class 'TypeError'>, TypeError('unable to convert to vim structure',))
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
931 f(Mapping({"abc" : FailingIterNext()})):(<class 'NotImplementedError'>, NotImplementedError())
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
932 <<< Finished
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
933 >>> Testing ConvertFromPyObject using f(Mapping({"abc" : %s}))
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
934 f(Mapping({"abc" : None})):(<class 'TypeError'>, TypeError('unable to convert to vim structure',))
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
935 f(Mapping({"abc" : {"": 1}})):(<class 'ValueError'>, ValueError('empty keys are not allowed',))
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
936 f(Mapping({"abc" : FailingMapping()})):(<class 'NotImplementedError'>, NotImplementedError())
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
937 f(Mapping({"abc" : FailingMappingKey()})):(<class 'NotImplementedError'>, NotImplementedError())
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
938 <<< Finished
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
939 >>> Testing *Iter* using f(%s)
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
940 f(FailingIter()):(<class 'TypeError'>, TypeError('unable to convert to vim structure',))
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
941 f(FailingIterNext()):(<class 'NotImplementedError'>, NotImplementedError())
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
942 <<< Finished
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
943 >>> Testing ConvertFromPyObject using f(%s)
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
944 f(None):(<class 'TypeError'>, TypeError('unable to convert to vim structure',))
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
945 f({"": 1}):(<class 'ValueError'>, ValueError('empty keys are not allowed',))
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
946 f(FailingMapping()):(<class 'NotImplementedError'>, NotImplementedError())
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
947 f(FailingMappingKey()):(<class 'NotImplementedError'>, NotImplementedError())
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
948 <<< Finished
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
949 >>> Testing StringToChars using fd(self={%s : 1})
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
950 fd(self={1 : 1}):(<class 'TypeError'>, TypeError('object must be string',))
4663
bce2051173f0 updated for version 7.3.1079
Bram Moolenaar <bram@vim.org>
parents: 4641
diff changeset
951 fd(self={b"\0" : 1}):(<class 'TypeError'>, TypeError('expected bytes with no null',))
4637
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
952 fd(self={"\0" : 1}):(<class 'TypeError'>, TypeError('expected bytes with no null',))
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
953 <<< Finished
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
954 >>> Testing StringToChars using fd(self={"abc" : {%s : 1}})
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
955 fd(self={"abc" : {1 : 1}}):(<class 'TypeError'>, TypeError('object must be string',))
4663
bce2051173f0 updated for version 7.3.1079
Bram Moolenaar <bram@vim.org>
parents: 4641
diff changeset
956 fd(self={"abc" : {b"\0" : 1}}):(<class 'TypeError'>, TypeError('expected bytes with no null',))
4637
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
957 fd(self={"abc" : {"\0" : 1}}):(<class 'TypeError'>, TypeError('expected bytes with no null',))
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
958 <<< Finished
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
959 >>> Testing StringToChars using fd(self={"abc" : Mapping({%s : 1})})
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
960 fd(self={"abc" : Mapping({1 : 1})}):(<class 'TypeError'>, TypeError('object must be string',))
4663
bce2051173f0 updated for version 7.3.1079
Bram Moolenaar <bram@vim.org>
parents: 4641
diff changeset
961 fd(self={"abc" : Mapping({b"\0" : 1})}):(<class 'TypeError'>, TypeError('expected bytes with no null',))
4637
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
962 fd(self={"abc" : Mapping({"\0" : 1})}):(<class 'TypeError'>, TypeError('expected bytes with no null',))
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
963 <<< Finished
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
964 >>> Testing *Iter* using fd(self={"abc" : %s})
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
965 fd(self={"abc" : FailingIter()}):(<class 'TypeError'>, TypeError('unable to convert to vim structure',))
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
966 fd(self={"abc" : FailingIterNext()}):(<class 'NotImplementedError'>, NotImplementedError())
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
967 <<< Finished
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
968 >>> Testing ConvertFromPyObject using fd(self={"abc" : %s})
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
969 fd(self={"abc" : None}):(<class 'TypeError'>, TypeError('unable to convert to vim structure',))
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
970 fd(self={"abc" : {"": 1}}):(<class 'ValueError'>, ValueError('empty keys are not allowed',))
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
971 fd(self={"abc" : FailingMapping()}):(<class 'NotImplementedError'>, NotImplementedError())
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
972 fd(self={"abc" : FailingMappingKey()}):(<class 'NotImplementedError'>, NotImplementedError())
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
973 <<< Finished
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
974 >>> Testing StringToChars using fd(self=Mapping({%s : 1}))
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
975 fd(self=Mapping({1 : 1})):(<class 'TypeError'>, TypeError('object must be string',))
4663
bce2051173f0 updated for version 7.3.1079
Bram Moolenaar <bram@vim.org>
parents: 4641
diff changeset
976 fd(self=Mapping({b"\0" : 1})):(<class 'TypeError'>, TypeError('expected bytes with no null',))
4637
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
977 fd(self=Mapping({"\0" : 1})):(<class 'TypeError'>, TypeError('expected bytes with no null',))
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
978 <<< Finished
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
979 >>> Testing StringToChars using fd(self=Mapping({"abc" : {%s : 1}}))
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
980 fd(self=Mapping({"abc" : {1 : 1}})):(<class 'TypeError'>, TypeError('object must be string',))
4663
bce2051173f0 updated for version 7.3.1079
Bram Moolenaar <bram@vim.org>
parents: 4641
diff changeset
981 fd(self=Mapping({"abc" : {b"\0" : 1}})):(<class 'TypeError'>, TypeError('expected bytes with no null',))
4637
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
982 fd(self=Mapping({"abc" : {"\0" : 1}})):(<class 'TypeError'>, TypeError('expected bytes with no null',))
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
983 <<< Finished
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
984 >>> Testing StringToChars using fd(self=Mapping({"abc" : Mapping({%s : 1})}))
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
985 fd(self=Mapping({"abc" : Mapping({1 : 1})})):(<class 'TypeError'>, TypeError('object must be string',))
4663
bce2051173f0 updated for version 7.3.1079
Bram Moolenaar <bram@vim.org>
parents: 4641
diff changeset
986 fd(self=Mapping({"abc" : Mapping({b"\0" : 1})})):(<class 'TypeError'>, TypeError('expected bytes with no null',))
4637
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
987 fd(self=Mapping({"abc" : Mapping({"\0" : 1})})):(<class 'TypeError'>, TypeError('expected bytes with no null',))
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
988 <<< Finished
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
989 >>> Testing *Iter* using fd(self=Mapping({"abc" : %s}))
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
990 fd(self=Mapping({"abc" : FailingIter()})):(<class 'TypeError'>, TypeError('unable to convert to vim structure',))
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
991 fd(self=Mapping({"abc" : FailingIterNext()})):(<class 'NotImplementedError'>, NotImplementedError())
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
992 <<< Finished
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
993 >>> Testing ConvertFromPyObject using fd(self=Mapping({"abc" : %s}))
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
994 fd(self=Mapping({"abc" : None})):(<class 'TypeError'>, TypeError('unable to convert to vim structure',))
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
995 fd(self=Mapping({"abc" : {"": 1}})):(<class 'ValueError'>, ValueError('empty keys are not allowed',))
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
996 fd(self=Mapping({"abc" : FailingMapping()})):(<class 'NotImplementedError'>, NotImplementedError())
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
997 fd(self=Mapping({"abc" : FailingMappingKey()})):(<class 'NotImplementedError'>, NotImplementedError())
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
998 <<< Finished
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
999 >>> Testing *Iter* using fd(self=%s)
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
1000 fd(self=FailingIter()):(<class 'TypeError'>, TypeError('unable to convert object to vim dictionary',))
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
1001 fd(self=FailingIterNext()):(<class 'TypeError'>, TypeError('unable to convert object to vim dictionary',))
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
1002 <<< Finished
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
1003 >>> Testing ConvertFromPyObject using fd(self=%s)
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
1004 fd(self=None):(<class 'TypeError'>, TypeError('unable to convert object to vim dictionary',))
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
1005 fd(self={"": 1}):(<class 'ValueError'>, ValueError('empty keys are not allowed',))
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
1006 fd(self=FailingMapping()):(<class 'NotImplementedError'>, NotImplementedError())
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
1007 fd(self=FailingMappingKey()):(<class 'NotImplementedError'>, NotImplementedError())
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
1008 <<< Finished
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
1009 >>> Testing ConvertFromPyMapping using fd(self=%s)
4663
bce2051173f0 updated for version 7.3.1079
Bram Moolenaar <bram@vim.org>
parents: 4641
diff changeset
1010 fd(self=[]):(<class 'AttributeError'>, AttributeError('keys',))
4637
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
1011 <<< Finished
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
1012 > TabPage
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
1013 >> TabPageAttr
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
1014 vim.current.tabpage.xxx:(<class 'AttributeError'>, AttributeError("'vim.tabpage' object has no attribute 'xxx'",))
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
1015 > TabList
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
1016 >> TabListItem
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
1017 vim.tabpages[1000]:(<class 'IndexError'>, IndexError('no such tab page',))
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
1018 > Window
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
1019 >> WindowAttr
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
1020 vim.current.window.xxx:(<class 'AttributeError'>, AttributeError("'vim.window' object has no attribute 'xxx'",))
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
1021 >> WindowSetattr
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
1022 vim.current.window.buffer = 0:(<class 'TypeError'>, TypeError('readonly attribute',))
4663
bce2051173f0 updated for version 7.3.1079
Bram Moolenaar <bram@vim.org>
parents: 4641
diff changeset
1023 vim.current.window.cursor = (100000000, 100000000):(<class 'vim.error'>, error('cursor position outside buffer',))
4637
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
1024 vim.current.window.cursor = True:(<class 'TypeError'>, TypeError('argument must be 2-item sequence, not bool',))
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
1025 vim.current.window.height = "abc":(<class 'TypeError'>, TypeError('an integer is required',))
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
1026 vim.current.window.width = "abc":(<class 'TypeError'>, TypeError('an integer is required',))
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
1027 vim.current.window.xxxxxx = True:(<class 'AttributeError'>, AttributeError('xxxxxx',))
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
1028 > WinList
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
1029 >> WinListItem
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
1030 vim.windows[1000]:(<class 'IndexError'>, IndexError('no such window',))
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
1031 > Buffer
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
1032 >> StringToLine (indirect)
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
1033 vim.current.buffer[0] = "\na":(<class 'vim.error'>, error('string cannot contain newlines',))
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
1034 >> SetBufferLine (indirect)
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
1035 vim.current.buffer[0] = True:(<class 'TypeError'>, TypeError('bad argument type for built-in operation',))
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
1036 >> SetBufferLines (indirect)
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
1037 vim.current.buffer[:] = True:(<class 'TypeError'>, TypeError('bad argument type for built-in operation',))
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
1038 vim.current.buffer[:] = ["\na", "bc"]:(<class 'vim.error'>, error('string cannot contain newlines',))
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
1039 >> InsertBufferLines (indirect)
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
1040 vim.current.buffer.append(None):(<class 'TypeError'>, TypeError('bad argument type for built-in operation',))
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
1041 vim.current.buffer.append(["\na", "bc"]):(<class 'vim.error'>, error('string cannot contain newlines',))
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
1042 vim.current.buffer.append("\nbc"):(<class 'vim.error'>, error('string cannot contain newlines',))
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
1043 >> RBItem
4663
bce2051173f0 updated for version 7.3.1079
Bram Moolenaar <bram@vim.org>
parents: 4641
diff changeset
1044 vim.current.buffer[100000000]:(<class 'IndexError'>, IndexError('line number out of range',))
4637
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
1045 >> RBAsItem
4663
bce2051173f0 updated for version 7.3.1079
Bram Moolenaar <bram@vim.org>
parents: 4641
diff changeset
1046 vim.current.buffer[100000000] = "":(<class 'IndexError'>, IndexError('line number out of range',))
4637
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
1047 >> BufferAttr
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
1048 vim.current.buffer.xxx:(<class 'AttributeError'>, AttributeError("'vim.buffer' object has no attribute 'xxx'",))
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
1049 >> BufferSetattr
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
1050 vim.current.buffer.name = True:(<class 'TypeError'>, TypeError('object must be string',))
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
1051 vim.current.buffer.xxx = True:(<class 'AttributeError'>, AttributeError('xxx',))
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
1052 >> BufferMark
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
1053 vim.current.buffer.mark(0):(<class 'TypeError'>, TypeError('must be str, not int',))
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
1054 vim.current.buffer.mark("abc"):(<class 'ValueError'>, ValueError('mark name must be a single character',))
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
1055 vim.current.buffer.mark("!"):(<class 'vim.error'>, error('invalid mark name',))
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
1056 >> BufferRange
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
1057 vim.current.buffer.range(1, 2, 3):(<class 'TypeError'>, TypeError('function takes exactly 2 arguments (3 given)',))
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
1058 > BufMap
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
1059 >> BufMapItem
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
1060 vim.buffers[None]:(<class 'TypeError'>, TypeError('key must be integer',))
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
1061 vim.buffers[100000000]:(<class 'KeyError'>, KeyError(100000000,))
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
1062 > Current
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
1063 >> CurrentGetattr
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
1064 vim.current.xxx:(<class 'AttributeError'>, AttributeError("'vim.currentdata' object has no attribute 'xxx'",))
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
1065 >> CurrentSetattr
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
1066 vim.current.line = True:(<class 'TypeError'>, TypeError('bad argument type for built-in operation',))
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
1067 vim.current.buffer = True:(<class 'TypeError'>, TypeError('expected vim.Buffer object',))
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
1068 vim.current.window = True:(<class 'TypeError'>, TypeError('expected vim.Window object',))
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
1069 vim.current.tabpage = True:(<class 'TypeError'>, TypeError('expected vim.TabPage object',))
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
1070 vim.current.xxx = True:(<class 'AttributeError'>, AttributeError('xxx',))
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
1071 vim.command("throw 'abc'"):(<class 'vim.error'>, error('abc',))
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
1072 Exe("throw 'def'"):(<class 'vim.error'>, error('def',))
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
1073 vim.eval("Exe('throw ''ghi''')"):(<class 'vim.error'>, error('ghi',))
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
1074 vim.eval("Exe('echoerr ''jkl''')"):(<class 'vim.error'>, error('Vim(echoerr):jkl',))
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
1075 vim.eval("Exe('xxx_non_existent_command_xxx')"):(<class 'vim.error'>, error('Vim:E492: Not an editor command: xxx_non_existent_command_xxx',))
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
1076 vim.bindeval("Exe('xxx_non_existent_command_xxx')"):(<class 'vim.error'>, error('Vim:E492: Not an editor command: xxx_non_existent_command_xxx',))