annotate src/testdir/test86.ok @ 17478:f9a443306174 v8.1.1737

patch 8.1.1737: :args command that outputs one line gives more prompt commit https://github.com/vim/vim/commit/949f1989cba8bf7653316c2b1444c26f1536bfab Author: Bram Moolenaar <Bram@vim.org> Date: Tue Jul 23 23:00:08 2019 +0200 patch 8.1.1737: :args command that outputs one line gives more prompt Problem: :args command that outputs one line gives more prompt. Solution: Only output line break if needed. (Daniel Hahler, closes https://github.com/vim/vim/issues/4715)
author Bram Moolenaar <Bram@vim.org>
date Tue, 23 Jul 2019 23:15:05 +0200
parents e791f29affae
children 9a6eb294b829
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 ['-1', '0', '1', 'b', 'f']
4157fef7b950 updated for version 7.3.1063
Bram Moolenaar <bram@vim.org>
parents: 4629
diff changeset
9 ['asd', -1L, <vim.Function '1'>, <vim.dictionary object at >, <vim.list object at >]
4157fef7b950 updated for version 7.3.1063
Bram Moolenaar <bram@vim.org>
parents: 4629
diff changeset
10 [('-1', <vim.dictionary object at >), ('0', -1L), ('1', 'asd'), ('b', <vim.list object at >), ('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 ['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 ('0', -1L)
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]
5608
ec02e1474bc2 updated for version 7.4.151
Bram Moolenaar <bram@vim.org>
parents: 5517
diff changeset
44 [1, 3]
ec02e1474bc2 updated for version 7.4.151
Bram Moolenaar <bram@vim.org>
parents: 5517
diff changeset
45 [0, 2]
ec02e1474bc2 updated for version 7.4.151
Bram Moolenaar <bram@vim.org>
parents: 5517
diff changeset
46 [0, 1, 2, 3]
3618
c052f3b79b99 updated for version 7.3.569
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
47 ['a', 0, 1, 2, 3]
c052f3b79b99 updated for version 7.3.569
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
48 [0, 'b', 2, 3]
c052f3b79b99 updated for version 7.3.569
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
49 [0, 1, 'c']
c052f3b79b99 updated for version 7.3.569
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
50 [0, 1, 2, 3, 'd']
c052f3b79b99 updated for version 7.3.569
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
51 [0, 1, 2, 'e', 3]
c052f3b79b99 updated for version 7.3.569
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
52 ['f', 2, 3]
c052f3b79b99 updated for version 7.3.569
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
53 [0, 1, 'g', 2, 3]
c052f3b79b99 updated for version 7.3.569
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
54 ['h']
5608
ec02e1474bc2 updated for version 7.4.151
Bram Moolenaar <bram@vim.org>
parents: 5517
diff changeset
55 [0, 1, 10, 3, 20, 5, 6, 7]
ec02e1474bc2 updated for version 7.4.151
Bram Moolenaar <bram@vim.org>
parents: 5517
diff changeset
56 [0, 1, 2, 3, 20, 5, 10, 7]
ec02e1474bc2 updated for version 7.4.151
Bram Moolenaar <bram@vim.org>
parents: 5517
diff changeset
57 [0, 1, 2, 3, 4, 5, 6, 7]
ec02e1474bc2 updated for version 7.4.151
Bram Moolenaar <bram@vim.org>
parents: 5517
diff changeset
58 [0, 1, 2, 3, 4, 5, 6, 7]
ec02e1474bc2 updated for version 7.4.151
Bram Moolenaar <bram@vim.org>
parents: 5517
diff changeset
59 [0, 1, 2, 3, 4, 5, 6, 7]
8889
8755d57debaa commit https://github.com/vim/vim/commit/8110a091bc749d8748a20807a724a3af3ca6d509
Christian Brabandt <cb@256bit.org>
parents: 7660
diff changeset
60 l[2] threw vim.error: error:('list is locked',)
3618
c052f3b79b99 updated for version 7.3.569
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
61 [0, 1, 2, 3]
c052f3b79b99 updated for version 7.3.569
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
62 [function('New'), function('DictNew'), 'NewStart', 1, 2, 3, 'NewEnd']
c052f3b79b99 updated for version 7.3.569
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
63 [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
64 [function('New'), function('DictNew'), 'NewStart', 1, 2, 3, 'NewEnd', 'DictNewStart', 1, 2, 3, 'DictNewEnd', {'a': 'b'}, 'New']
5517
064e2a080e2e updated for version 7.4.107
Bram Moolenaar <bram@vim.org>
parents: 5469
diff changeset
65 l[1](1, 2, 3):error:('Vim:E725: Calling dict function without Dictionary: DictNew',)
064e2a080e2e updated for version 7.4.107
Bram Moolenaar <bram@vim.org>
parents: 5469
diff changeset
66 f(1, 2, 3):error:('Vim:E117: Unknown function: New',)
3618
c052f3b79b99 updated for version 7.3.569
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
67 [0.0, 0.0]
4315
9f3da1dea7c0 updated for version 7.3.907
Bram Moolenaar <bram@vim.org>
parents: 4260
diff changeset
68 KeyError
3802
e75da4a3225d updated for version 7.3.659
Bram Moolenaar <bram@vim.org>
parents: 3618
diff changeset
69 TypeError
e75da4a3225d updated for version 7.3.659
Bram Moolenaar <bram@vim.org>
parents: 3618
diff changeset
70 TypeError
e75da4a3225d updated for version 7.3.659
Bram Moolenaar <bram@vim.org>
parents: 3618
diff changeset
71 ValueError
e75da4a3225d updated for version 7.3.659
Bram Moolenaar <bram@vim.org>
parents: 3618
diff changeset
72 TypeError
e75da4a3225d updated for version 7.3.659
Bram Moolenaar <bram@vim.org>
parents: 3618
diff changeset
73 TypeError
4627
18ba89e06fab updated for version 7.3.1061
Bram Moolenaar <bram@vim.org>
parents: 4619
diff changeset
74 KeyError
18ba89e06fab updated for version 7.3.1061
Bram Moolenaar <bram@vim.org>
parents: 4619
diff changeset
75 KeyError
3828
fd6ef931aa77 updated for version 7.3.672
Bram Moolenaar <bram@vim.org>
parents: 3802
diff changeset
76 d : locked:0;scope:0
fd6ef931aa77 updated for version 7.3.672
Bram Moolenaar <bram@vim.org>
parents: 3802
diff changeset
77 dl : locked:1;scope:0
fd6ef931aa77 updated for version 7.3.672
Bram Moolenaar <bram@vim.org>
parents: 3802
diff changeset
78 v: : locked:2;scope:1
fd6ef931aa77 updated for version 7.3.672
Bram Moolenaar <bram@vim.org>
parents: 3802
diff changeset
79 g: : locked:0;scope:2
4976
4ed713442c51 updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents: 4972
diff changeset
80 d:{'abc2': 1}
3828
fd6ef931aa77 updated for version 7.3.672
Bram Moolenaar <bram@vim.org>
parents: 3802
diff changeset
81 dl:{'def': 1}
fd6ef931aa77 updated for version 7.3.672
Bram Moolenaar <bram@vim.org>
parents: 3802
diff changeset
82 l : locked:0
fd6ef931aa77 updated for version 7.3.672
Bram Moolenaar <bram@vim.org>
parents: 3802
diff changeset
83 ll : locked:1
fd6ef931aa77 updated for version 7.3.672
Bram Moolenaar <bram@vim.org>
parents: 3802
diff changeset
84 l:[0]
fd6ef931aa77 updated for version 7.3.672
Bram Moolenaar <bram@vim.org>
parents: 3802
diff changeset
85 ll:[1]
3618
c052f3b79b99 updated for version 7.3.569
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
86 [0, 1, 2]
c052f3b79b99 updated for version 7.3.569
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
87 ['a', 'b']
c052f3b79b99 updated for version 7.3.569
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
88 ['c', 1]
c052f3b79b99 updated for version 7.3.569
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
89 ['d', ['e']]
12806
ef93c4415667 patch 8.0.1280: Python None cannot be converted to a Vim type
Christian Brabandt <cb@256bit.org>
parents: 10160
diff changeset
90 pyeval("None") = v:none
3618
c052f3b79b99 updated for version 7.3.569
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
91 0.0
3802
e75da4a3225d updated for version 7.3.659
Bram Moolenaar <bram@vim.org>
parents: 3618
diff changeset
92 "\0": Vim(let):E859:
e75da4a3225d updated for version 7.3.659
Bram Moolenaar <bram@vim.org>
parents: 3618
diff changeset
93 {"\0": 1}: Vim(let):E859:
16688
e791f29affae patch 8.1.1346: error for Python exception does not show useful info
Bram Moolenaar <Bram@vim.org>
parents: 14467
diff changeset
94 undefined_name: Vim(let):NameE
3802
e75da4a3225d updated for version 7.3.659
Bram Moolenaar <bram@vim.org>
parents: 3618
diff changeset
95 vim: Vim(let):E859:
4109
3b2a771abb39 updated for version 7.3.808
Bram Moolenaar <bram@vim.org>
parents: 3828
diff changeset
96 [1]
3b2a771abb39 updated for version 7.3.808
Bram Moolenaar <bram@vim.org>
parents: 3828
diff changeset
97 [1, 10, 11, 10, 11, 10, 11, 10, 11, 10, 11, 10, 1]
4260
d8acfc49d94e updated for version 7.3.881
Bram Moolenaar <bram@vim.org>
parents: 4149
diff changeset
98 [0, 1, 2, 3]
d8acfc49d94e updated for version 7.3.881
Bram Moolenaar <bram@vim.org>
parents: 4149
diff changeset
99 [2, 3, 4, 5]
d8acfc49d94e updated for version 7.3.881
Bram Moolenaar <bram@vim.org>
parents: 4149
diff changeset
100 [0, 1]
d8acfc49d94e updated for version 7.3.881
Bram Moolenaar <bram@vim.org>
parents: 4149
diff changeset
101 [4, 5]
d8acfc49d94e updated for version 7.3.881
Bram Moolenaar <bram@vim.org>
parents: 4149
diff changeset
102 [2, 3]
d8acfc49d94e updated for version 7.3.881
Bram Moolenaar <bram@vim.org>
parents: 4149
diff changeset
103 []
d8acfc49d94e updated for version 7.3.881
Bram Moolenaar <bram@vim.org>
parents: 4149
diff changeset
104 [2, 3]
d8acfc49d94e updated for version 7.3.881
Bram Moolenaar <bram@vim.org>
parents: 4149
diff changeset
105 []
d8acfc49d94e updated for version 7.3.881
Bram Moolenaar <bram@vim.org>
parents: 4149
diff changeset
106 [0, 1, 2, 3, 4, 5]
d8acfc49d94e updated for version 7.3.881
Bram Moolenaar <bram@vim.org>
parents: 4149
diff changeset
107 [0, 1, 2, 3, 4, 5]
d8acfc49d94e updated for version 7.3.881
Bram Moolenaar <bram@vim.org>
parents: 4149
diff changeset
108 [0, 1, 2, 3, 4, 5]
5608
ec02e1474bc2 updated for version 7.4.151
Bram Moolenaar <bram@vim.org>
parents: 5517
diff changeset
109 [4, 3]
ec02e1474bc2 updated for version 7.4.151
Bram Moolenaar <bram@vim.org>
parents: 5517
diff changeset
110 [0, 2, 4]
ec02e1474bc2 updated for version 7.4.151
Bram Moolenaar <bram@vim.org>
parents: 5517
diff changeset
111 []
4323
f1eab4f77a6f updated for version 7.3.911
Bram Moolenaar <bram@vim.org>
parents: 4315
diff changeset
112 Abc
f1eab4f77a6f updated for version 7.3.911
Bram Moolenaar <bram@vim.org>
parents: 4315
diff changeset
113 bac
f1eab4f77a6f updated for version 7.3.911
Bram Moolenaar <bram@vim.org>
parents: 4315
diff changeset
114 def
f1eab4f77a6f updated for version 7.3.911
Bram Moolenaar <bram@vim.org>
parents: 4315
diff changeset
115 bar
4413
fa90ebf2c8f3 updated for version 7.3.955
Bram Moolenaar <bram@vim.org>
parents: 4405
diff changeset
116 jkl
5610
2ace11abcfb5 updated for version 7.4.152
Bram Moolenaar <bram@vim.org>
parents: 5608
diff changeset
117 wopts iters equal: 1
2ace11abcfb5 updated for version 7.4.152
Bram Moolenaar <bram@vim.org>
parents: 5608
diff changeset
118 bopts iters equal: 1
4350
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
119 >>> paste
5610
2ace11abcfb5 updated for version 7.4.152
Bram Moolenaar <bram@vim.org>
parents: 5608
diff changeset
120 g/w/b:1/0/0
2ace11abcfb5 updated for version 7.4.152
Bram Moolenaar <bram@vim.org>
parents: 5608
diff changeset
121 g/w/b (in):1/0/0
4350
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
122 p/gopts1: False
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
123 p/wopts1! KeyError
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
124 inv: 2! KeyError
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
125 wopts1! KeyError
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
126 wopts2! KeyError
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
127 wopts3! KeyError
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
128 p/bopts1! KeyError
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
129 inv: 2! KeyError
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
130 bopts1! KeyError
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
131 bopts2! KeyError
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
132 bopts3! KeyError
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
133 G: 1
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
134 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
135 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
136 del wopts3! KeyError
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
137 del bopts3! KeyError
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
138 G: 1
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
139 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
140 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
141 >>> previewheight
5610
2ace11abcfb5 updated for version 7.4.152
Bram Moolenaar <bram@vim.org>
parents: 5608
diff changeset
142 g/w/b:1/0/0
2ace11abcfb5 updated for version 7.4.152
Bram Moolenaar <bram@vim.org>
parents: 5608
diff changeset
143 g/w/b (in):1/0/0
4350
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
144 p/gopts1: 12
4405
907b1f035ee7 updated for version 7.3.951
Bram Moolenaar <bram@vim.org>
parents: 4399
diff changeset
145 inv: 'a'! TypeError
4350
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
146 p/wopts1! KeyError
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
147 inv: 'a'! KeyError
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
148 wopts1! KeyError
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
149 wopts2! KeyError
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
150 wopts3! KeyError
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
151 p/bopts1! KeyError
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
152 inv: 'a'! KeyError
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
153 bopts1! KeyError
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
154 bopts2! KeyError
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
155 bopts3! KeyError
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
156 G: 5
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
157 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
158 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
159 del wopts3! KeyError
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
160 del bopts3! KeyError
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
161 G: 5
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
162 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
163 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
164 >>> operatorfunc
5610
2ace11abcfb5 updated for version 7.4.152
Bram Moolenaar <bram@vim.org>
parents: 5608
diff changeset
165 g/w/b:1/0/0
2ace11abcfb5 updated for version 7.4.152
Bram Moolenaar <bram@vim.org>
parents: 5608
diff changeset
166 g/w/b (in):1/0/0
4350
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
167 p/gopts1: ''
4405
907b1f035ee7 updated for version 7.3.951
Bram Moolenaar <bram@vim.org>
parents: 4399
diff changeset
168 inv: 2! TypeError
4350
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
169 p/wopts1! KeyError
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
170 inv: 2! KeyError
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
171 wopts1! KeyError
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
172 wopts2! KeyError
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
173 wopts3! KeyError
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
174 p/bopts1! KeyError
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
175 inv: 2! KeyError
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
176 bopts1! KeyError
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
177 bopts2! KeyError
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
178 bopts3! KeyError
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
179 G: 'A'
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
180 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
181 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
182 del wopts3! KeyError
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
183 del bopts3! KeyError
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
184 G: 'A'
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
185 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
186 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
187 >>> number
5610
2ace11abcfb5 updated for version 7.4.152
Bram Moolenaar <bram@vim.org>
parents: 5608
diff changeset
188 g/w/b:0/1/0
2ace11abcfb5 updated for version 7.4.152
Bram Moolenaar <bram@vim.org>
parents: 5608
diff changeset
189 g/w/b (in):0/1/0
4350
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
190 p/gopts1! KeyError
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
191 inv: 0! KeyError
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
192 gopts1! KeyError
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
193 p/wopts1: False
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
194 p/bopts1! KeyError
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
195 inv: 0! KeyError
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
196 bopts1! KeyError
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
197 bopts2! KeyError
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
198 bopts3! KeyError
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
199 G: 0
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
200 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
201 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
202 del wopts3! ValueError
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
203 del bopts3! KeyError
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
204 G: 0
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
205 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
206 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
207 >>> numberwidth
5610
2ace11abcfb5 updated for version 7.4.152
Bram Moolenaar <bram@vim.org>
parents: 5608
diff changeset
208 g/w/b:0/1/0
2ace11abcfb5 updated for version 7.4.152
Bram Moolenaar <bram@vim.org>
parents: 5608
diff changeset
209 g/w/b (in):0/1/0
4350
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
210 p/gopts1! KeyError
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
211 inv: -100! KeyError
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
212 gopts1! KeyError
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
213 p/wopts1: 8
4513
cadb57fbb781 updated for version 7.3.1004
Bram Moolenaar <bram@vim.org>
parents: 4511
diff changeset
214 inv: -100! error
4350
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
215 p/bopts1! KeyError
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
216 inv: -100! KeyError
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
217 bopts1! KeyError
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
218 bopts2! KeyError
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
219 bopts3! KeyError
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
220 G: 8
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
221 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
222 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
223 del wopts3! ValueError
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: 8
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
226 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
227 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
228 >>> colorcolumn
5610
2ace11abcfb5 updated for version 7.4.152
Bram Moolenaar <bram@vim.org>
parents: 5608
diff changeset
229 g/w/b:0/1/0
2ace11abcfb5 updated for version 7.4.152
Bram Moolenaar <bram@vim.org>
parents: 5608
diff changeset
230 g/w/b (in):0/1/0
4350
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
231 p/gopts1! KeyError
4976
4ed713442c51 updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents: 4972
diff changeset
232 inv: 'abc4'! KeyError
4350
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
233 gopts1! KeyError
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
234 p/wopts1: ''
4976
4ed713442c51 updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents: 4972
diff changeset
235 inv: 'abc4'! error
4350
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
236 p/bopts1! KeyError
4976
4ed713442c51 updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents: 4972
diff changeset
237 inv: 'abc4'! KeyError
4350
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
238 bopts1! KeyError
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
239 bopts2! KeyError
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
240 bopts3! KeyError
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
241 G: ''
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
242 W: 1:'+2' 2:'+3' 3:'+1' 4:''
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
243 B: 1:'+2' 2:'+3' 3:'+1' 4:''
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
244 del wopts3! ValueError
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
245 del bopts3! KeyError
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
246 G: ''
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
247 W: 1:'+2' 2:'+3' 3:'+1' 4:''
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
248 B: 1:'+2' 2:'+3' 3:'+1' 4:''
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
249 >>> statusline
5610
2ace11abcfb5 updated for version 7.4.152
Bram Moolenaar <bram@vim.org>
parents: 5608
diff changeset
250 g/w/b:1/1/0
2ace11abcfb5 updated for version 7.4.152
Bram Moolenaar <bram@vim.org>
parents: 5608
diff changeset
251 g/w/b (in):1/1/0
4350
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
252 p/gopts1: ''
4405
907b1f035ee7 updated for version 7.3.951
Bram Moolenaar <bram@vim.org>
parents: 4399
diff changeset
253 inv: 0! TypeError
4350
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
254 p/wopts1: None
4405
907b1f035ee7 updated for version 7.3.951
Bram Moolenaar <bram@vim.org>
parents: 4399
diff changeset
255 inv: 0! TypeError
4350
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
256 p/bopts1! KeyError
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
257 inv: 0! KeyError
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
258 bopts1! KeyError
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
259 bopts2! KeyError
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
260 bopts3! KeyError
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
261 G: '1'
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
262 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
263 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
264 del bopts3! KeyError
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
265 G: '1'
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
266 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
267 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
268 >>> autoindent
5610
2ace11abcfb5 updated for version 7.4.152
Bram Moolenaar <bram@vim.org>
parents: 5608
diff changeset
269 g/w/b:0/0/1
2ace11abcfb5 updated for version 7.4.152
Bram Moolenaar <bram@vim.org>
parents: 5608
diff changeset
270 g/w/b (in):0/0/1
4350
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
271 p/gopts1! KeyError
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
272 inv: 2! KeyError
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
273 gopts1! KeyError
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
274 p/wopts1! KeyError
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
275 inv: 2! KeyError
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
276 wopts1! KeyError
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
277 wopts2! KeyError
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
278 wopts3! KeyError
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
279 p/bopts1: False
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
280 G: 0
4393
80eea7a9d6b9 updated for version 7.3.945
Bram Moolenaar <bram@vim.org>
parents: 4389
diff changeset
281 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
282 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
283 del wopts3! KeyError
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
284 del bopts3! ValueError
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
285 G: 0
4393
80eea7a9d6b9 updated for version 7.3.945
Bram Moolenaar <bram@vim.org>
parents: 4389
diff changeset
286 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
287 B: 1:0 2:1 3:0 4:1
4427
0a94ac379769 updated for version 7.3.962
Bram Moolenaar <bram@vim.org>
parents: 4413
diff changeset
288 >>> shiftwidth
5610
2ace11abcfb5 updated for version 7.4.152
Bram Moolenaar <bram@vim.org>
parents: 5608
diff changeset
289 g/w/b:0/0/1
2ace11abcfb5 updated for version 7.4.152
Bram Moolenaar <bram@vim.org>
parents: 5608
diff changeset
290 g/w/b (in):0/0/1
4350
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
291 p/gopts1! KeyError
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
292 inv: 3! KeyError
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
293 gopts1! KeyError
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
294 p/wopts1! KeyError
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
295 inv: 3! KeyError
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
296 wopts1! KeyError
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
297 wopts2! KeyError
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
298 wopts3! KeyError
4427
0a94ac379769 updated for version 7.3.962
Bram Moolenaar <bram@vim.org>
parents: 4413
diff changeset
299 p/bopts1: 8
0a94ac379769 updated for version 7.3.962
Bram Moolenaar <bram@vim.org>
parents: 4413
diff changeset
300 G: 8
0a94ac379769 updated for version 7.3.962
Bram Moolenaar <bram@vim.org>
parents: 4413
diff changeset
301 W: 1:0 2:2 3:8 4:1
0a94ac379769 updated for version 7.3.962
Bram Moolenaar <bram@vim.org>
parents: 4413
diff changeset
302 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
303 del wopts3! KeyError
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
304 del bopts3! ValueError
4427
0a94ac379769 updated for version 7.3.962
Bram Moolenaar <bram@vim.org>
parents: 4413
diff changeset
305 G: 8
0a94ac379769 updated for version 7.3.962
Bram Moolenaar <bram@vim.org>
parents: 4413
diff changeset
306 W: 1:0 2:2 3:8 4:1
0a94ac379769 updated for version 7.3.962
Bram Moolenaar <bram@vim.org>
parents: 4413
diff changeset
307 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
308 >>> omnifunc
5610
2ace11abcfb5 updated for version 7.4.152
Bram Moolenaar <bram@vim.org>
parents: 5608
diff changeset
309 g/w/b:0/0/1
2ace11abcfb5 updated for version 7.4.152
Bram Moolenaar <bram@vim.org>
parents: 5608
diff changeset
310 g/w/b (in):0/0/1
4350
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
311 p/gopts1! KeyError
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
312 inv: 1! KeyError
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
313 gopts1! KeyError
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
314 p/wopts1! KeyError
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
315 inv: 1! KeyError
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
316 wopts1! KeyError
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
317 wopts2! KeyError
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
318 wopts3! KeyError
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
319 p/bopts1: ''
4405
907b1f035ee7 updated for version 7.3.951
Bram Moolenaar <bram@vim.org>
parents: 4399
diff changeset
320 inv: 1! TypeError
4350
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
321 G: ''
4393
80eea7a9d6b9 updated for version 7.3.945
Bram Moolenaar <bram@vim.org>
parents: 4389
diff changeset
322 W: 1:'A' 2:'B' 3:'' 4:'C'
80eea7a9d6b9 updated for version 7.3.945
Bram Moolenaar <bram@vim.org>
parents: 4389
diff changeset
323 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
324 del wopts3! KeyError
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
325 del bopts3! ValueError
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
326 G: ''
4393
80eea7a9d6b9 updated for version 7.3.945
Bram Moolenaar <bram@vim.org>
parents: 4389
diff changeset
327 W: 1:'A' 2:'B' 3:'' 4:'C'
80eea7a9d6b9 updated for version 7.3.945
Bram Moolenaar <bram@vim.org>
parents: 4389
diff changeset
328 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
329 >>> preserveindent
5610
2ace11abcfb5 updated for version 7.4.152
Bram Moolenaar <bram@vim.org>
parents: 5608
diff changeset
330 g/w/b:0/0/1
2ace11abcfb5 updated for version 7.4.152
Bram Moolenaar <bram@vim.org>
parents: 5608
diff changeset
331 g/w/b (in):0/0/1
4350
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
332 p/gopts1! KeyError
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
333 inv: 2! KeyError
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
334 gopts1! KeyError
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
335 p/wopts1! KeyError
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
336 inv: 2! KeyError
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
337 wopts1! KeyError
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
338 wopts2! KeyError
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
339 wopts3! KeyError
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
340 p/bopts1: False
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
341 G: 0
4393
80eea7a9d6b9 updated for version 7.3.945
Bram Moolenaar <bram@vim.org>
parents: 4389
diff changeset
342 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
343 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
344 del wopts3! KeyError
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
345 del bopts3! ValueError
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
346 G: 0
4393
80eea7a9d6b9 updated for version 7.3.945
Bram Moolenaar <bram@vim.org>
parents: 4389
diff changeset
347 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
348 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
349 >>> path
5610
2ace11abcfb5 updated for version 7.4.152
Bram Moolenaar <bram@vim.org>
parents: 5608
diff changeset
350 g/w/b:1/0/1
2ace11abcfb5 updated for version 7.4.152
Bram Moolenaar <bram@vim.org>
parents: 5608
diff changeset
351 g/w/b (in):1/0/1
4684
79522bb17125 updated for version 7.3.1089
Bram Moolenaar <bram@vim.org>
parents: 4665
diff changeset
352 p/gopts1: '.,..,,'
4405
907b1f035ee7 updated for version 7.3.951
Bram Moolenaar <bram@vim.org>
parents: 4399
diff changeset
353 inv: 0! TypeError
4350
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
354 p/wopts1! KeyError
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
355 inv: 0! KeyError
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
356 wopts1! KeyError
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
357 wopts2! KeyError
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
358 wopts3! KeyError
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
359 p/bopts1: None
4405
907b1f035ee7 updated for version 7.3.951
Bram Moolenaar <bram@vim.org>
parents: 4399
diff changeset
360 inv: 0! TypeError
4350
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
361 G: '.,,'
4393
80eea7a9d6b9 updated for version 7.3.945
Bram Moolenaar <bram@vim.org>
parents: 4389
diff changeset
362 W: 1:'.,,' 2:',,' 3:'.,,' 4:'.'
80eea7a9d6b9 updated for version 7.3.945
Bram Moolenaar <bram@vim.org>
parents: 4389
diff changeset
363 B: 1:'.,,' 2:',,' 3:'.,,' 4:'.'
4350
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
364 del wopts3! KeyError
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4323
diff changeset
365 G: '.,,'
4393
80eea7a9d6b9 updated for version 7.3.945
Bram Moolenaar <bram@vim.org>
parents: 4389
diff changeset
366 W: 1:'.,,' 2:',,' 3:'.,,' 4:'.,,'
80eea7a9d6b9 updated for version 7.3.945
Bram Moolenaar <bram@vim.org>
parents: 4389
diff changeset
367 B: 1:'.,,' 2:',,' 3:'.,,' 4:'.,,'
4389
736b8e18a3bc updated for version 7.3.943
Bram Moolenaar <bram@vim.org>
parents: 4350
diff changeset
368 First line
736b8e18a3bc updated for version 7.3.943
Bram Moolenaar <bram@vim.org>
parents: 4350
diff changeset
369 First line
736b8e18a3bc updated for version 7.3.943
Bram Moolenaar <bram@vim.org>
parents: 4350
diff changeset
370 def
736b8e18a3bc updated for version 7.3.943
Bram Moolenaar <bram@vim.org>
parents: 4350
diff changeset
371 First line
736b8e18a3bc updated for version 7.3.943
Bram Moolenaar <bram@vim.org>
parents: 4350
diff changeset
372 Second line
736b8e18a3bc updated for version 7.3.943
Bram Moolenaar <bram@vim.org>
parents: 4350
diff changeset
373 Third line
736b8e18a3bc updated for version 7.3.943
Bram Moolenaar <bram@vim.org>
parents: 4350
diff changeset
374 (7, 2)
736b8e18a3bc updated for version 7.3.943
Bram Moolenaar <bram@vim.org>
parents: 4350
diff changeset
375 <buffer test86.in><buffer >
736b8e18a3bc updated for version 7.3.943
Bram Moolenaar <bram@vim.org>
parents: 4350
diff changeset
376 baz
736b8e18a3bc updated for version 7.3.943
Bram Moolenaar <bram@vim.org>
parents: 4350
diff changeset
377 bar
736b8e18a3bc updated for version 7.3.943
Bram Moolenaar <bram@vim.org>
parents: 4350
diff changeset
378 Second line
736b8e18a3bc updated for version 7.3.943
Bram Moolenaar <bram@vim.org>
parents: 4350
diff changeset
379 Third line
736b8e18a3bc updated for version 7.3.943
Bram Moolenaar <bram@vim.org>
parents: 4350
diff changeset
380 foo
4589
fa39483a1363 updated for version 7.3.1042
Bram Moolenaar <bram@vim.org>
parents: 4513
diff changeset
381 1:BufFilePre:1
4613
219b2fcad60d updated for version 7.3.1054
Bram Moolenaar <bram@vim.org>
parents: 4599
diff changeset
382 1:BufFilePost:1
4589
fa39483a1363 updated for version 7.3.1042
Bram Moolenaar <bram@vim.org>
parents: 4513
diff changeset
383 testdir/foo
fa39483a1363 updated for version 7.3.1042
Bram Moolenaar <bram@vim.org>
parents: 4513
diff changeset
384 5:BufFilePre:5
fa39483a1363 updated for version 7.3.1042
Bram Moolenaar <bram@vim.org>
parents: 4513
diff changeset
385 5:BufFilePost:5
fa39483a1363 updated for version 7.3.1042
Bram Moolenaar <bram@vim.org>
parents: 4513
diff changeset
386 testdir/bar
fa39483a1363 updated for version 7.3.1042
Bram Moolenaar <bram@vim.org>
parents: 4513
diff changeset
387 1:BufFilePre:1
4613
219b2fcad60d updated for version 7.3.1054
Bram Moolenaar <bram@vim.org>
parents: 4599
diff changeset
388 1:BufFilePost:1
4589
fa39483a1363 updated for version 7.3.1042
Bram Moolenaar <bram@vim.org>
parents: 4513
diff changeset
389 testdir/test86.in
4593
0cf552b325b5 updated for version 7.3.1044
Bram Moolenaar <bram@vim.org>
parents: 4589
diff changeset
390 valid: b:False, cb:True
4397
a84f21892563 updated for version 7.3.947
Bram Moolenaar <bram@vim.org>
parents: 4393
diff changeset
391 i:<buffer test86.in>
a84f21892563 updated for version 7.3.947
Bram Moolenaar <bram@vim.org>
parents: 4393
diff changeset
392 i2:<buffer test86.in>
a84f21892563 updated for version 7.3.947
Bram Moolenaar <bram@vim.org>
parents: 4393
diff changeset
393 i:<buffer a>
a84f21892563 updated for version 7.3.947
Bram Moolenaar <bram@vim.org>
parents: 4393
diff changeset
394 i3:<buffer test86.in>
a84f21892563 updated for version 7.3.947
Bram Moolenaar <bram@vim.org>
parents: 4393
diff changeset
395 1:<buffer test86.in>=<buffer test86.in>
4589
fa39483a1363 updated for version 7.3.1042
Bram Moolenaar <bram@vim.org>
parents: 4513
diff changeset
396 8:<buffer a>=<buffer a>
fa39483a1363 updated for version 7.3.1042
Bram Moolenaar <bram@vim.org>
parents: 4513
diff changeset
397 9:<buffer b>=<buffer b>
fa39483a1363 updated for version 7.3.1042
Bram Moolenaar <bram@vim.org>
parents: 4513
diff changeset
398 10:<buffer c>=<buffer c>
4397
a84f21892563 updated for version 7.3.947
Bram Moolenaar <bram@vim.org>
parents: 4393
diff changeset
399 4
a84f21892563 updated for version 7.3.947
Bram Moolenaar <bram@vim.org>
parents: 4393
diff changeset
400 i4:<buffer test86.in>
a84f21892563 updated for version 7.3.947
Bram Moolenaar <bram@vim.org>
parents: 4393
diff changeset
401 i4:<buffer test86.in>
a84f21892563 updated for version 7.3.947
Bram Moolenaar <bram@vim.org>
parents: 4393
diff changeset
402 StopIteration
4413
fa90ebf2c8f3 updated for version 7.3.955
Bram Moolenaar <bram@vim.org>
parents: 4405
diff changeset
403 Number of tabs: 4
fa90ebf2c8f3 updated for version 7.3.955
Bram Moolenaar <bram@vim.org>
parents: 4405
diff changeset
404 Current tab pages:
fa90ebf2c8f3 updated for version 7.3.955
Bram Moolenaar <bram@vim.org>
parents: 4405
diff changeset
405 <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
406 Windows:
4593
0cf552b325b5 updated for version 7.3.1044
Bram Moolenaar <bram@vim.org>
parents: 4589
diff changeset
407 <window object (unknown)>(1): displays buffer <buffer test86.in>; cursor is at (37, 0)
4413
fa90ebf2c8f3 updated for version 7.3.955
Bram Moolenaar <bram@vim.org>
parents: 4405
diff changeset
408 <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
409 Windows:
4431
7d81f4e96728 updated for version 7.3.964
Bram Moolenaar <bram@vim.org>
parents: 4429
diff changeset
410 <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
411 <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
412 Windows:
4431
7d81f4e96728 updated for version 7.3.964
Bram Moolenaar <bram@vim.org>
parents: 4429
diff changeset
413 <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: 4429
diff changeset
414 <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
415 <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
416 Windows:
fa90ebf2c8f3 updated for version 7.3.955
Bram Moolenaar <bram@vim.org>
parents: 4405
diff changeset
417 <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
418 <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
419 <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
420 <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
421 Number of windows in current tab page: 4
fa90ebf2c8f3 updated for version 7.3.955
Bram Moolenaar <bram@vim.org>
parents: 4405
diff changeset
422 Current tab page: <tabpage 3>
fa90ebf2c8f3 updated for version 7.3.955
Bram Moolenaar <bram@vim.org>
parents: 4405
diff changeset
423 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
424 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
425 ValueError at assigning foreign tab window
fa90ebf2c8f3 updated for version 7.3.955
Bram Moolenaar <bram@vim.org>
parents: 4405
diff changeset
426 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
427 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
428 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
429 Current tab page: <tabpage 2>
fa90ebf2c8f3 updated for version 7.3.955
Bram Moolenaar <bram@vim.org>
parents: 4405
diff changeset
430 Current window: <window 0>
fa90ebf2c8f3 updated for version 7.3.955
Bram Moolenaar <bram@vim.org>
parents: 4405
diff changeset
431 Current buffer: <buffer test86.in>
fa90ebf2c8f3 updated for version 7.3.955
Bram Moolenaar <bram@vim.org>
parents: 4405
diff changeset
432 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
433 w.valid: [True, False]
0cf552b325b5 updated for version 7.3.1044
Bram Moolenaar <bram@vim.org>
parents: 4589
diff changeset
434 t.valid: [True, False, True, False]
4496
ebd94eabfd80 updated for version 7.3.996
Bram Moolenaar <bram@vim.org>
parents: 4431
diff changeset
435 vim.vars:Dictionary:True
ebd94eabfd80 updated for version 7.3.996
Bram Moolenaar <bram@vim.org>
parents: 4431
diff changeset
436 vim.options:Options:True
ebd94eabfd80 updated for version 7.3.996
Bram Moolenaar <bram@vim.org>
parents: 4431
diff changeset
437 vim.bindeval("{}"):Dictionary:True
ebd94eabfd80 updated for version 7.3.996
Bram Moolenaar <bram@vim.org>
parents: 4431
diff changeset
438 vim.bindeval("[]"):List:True
ebd94eabfd80 updated for version 7.3.996
Bram Moolenaar <bram@vim.org>
parents: 4431
diff changeset
439 vim.bindeval("function('tr')"):Function:True
ebd94eabfd80 updated for version 7.3.996
Bram Moolenaar <bram@vim.org>
parents: 4431
diff changeset
440 vim.current.buffer:Buffer:True
ebd94eabfd80 updated for version 7.3.996
Bram Moolenaar <bram@vim.org>
parents: 4431
diff changeset
441 vim.current.range:Range:True
ebd94eabfd80 updated for version 7.3.996
Bram Moolenaar <bram@vim.org>
parents: 4431
diff changeset
442 vim.current.window:Window:True
ebd94eabfd80 updated for version 7.3.996
Bram Moolenaar <bram@vim.org>
parents: 4431
diff changeset
443 vim.current.tabpage:TabPage:True
4599
89bec74fd793 updated for version 7.3.1047
Bram Moolenaar <bram@vim.org>
parents: 4593
diff changeset
444 current:__dir__,__members__,buffer,line,range,tabpage,window
89bec74fd793 updated for version 7.3.1047
Bram Moolenaar <bram@vim.org>
parents: 4593
diff changeset
445 buffer:__dir__,__members__,append,mark,name,number,options,range,valid,vars
14047
30a0068f6167 patch 8.1.0041: attribute "width" missing from python window attribute list
Christian Brabandt <cb@256bit.org>
parents: 12806
diff changeset
446 window:__dir__,__members__,buffer,col,cursor,height,number,options,row,tabpage,valid,vars,width
4599
89bec74fd793 updated for version 7.3.1047
Bram Moolenaar <bram@vim.org>
parents: 4593
diff changeset
447 tabpage:__dir__,__members__,number,valid,vars,window,windows
89bec74fd793 updated for version 7.3.1047
Bram Moolenaar <bram@vim.org>
parents: 4593
diff changeset
448 range:__dir__,__members__,append,end,start
4627
18ba89e06fab updated for version 7.3.1061
Bram Moolenaar <bram@vim.org>
parents: 4619
diff changeset
449 dictionary:__dir__,__members__,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
450 list:__dir__,__members__,extend,locked
9119
39cc63e8df7c commit https://github.com/vim/vim/commit/2177f9fe18a927ef65ccebb0856722a28dc00252
Christian Brabandt <cb@256bit.org>
parents: 8967
diff changeset
451 function:__dir__,__members__,args,auto_rebind,self,softspace
8967
df5f9284fcba commit https://github.com/vim/vim/commit/6d4431e7b675ba7a0194c0b8eb84b7d92e4e7953
Christian Brabandt <cb@256bit.org>
parents: 8889
diff changeset
452 output:__dir__,__members__,close,closed,flush,isatty,readable,seekable,softspace,writable,write,writelines
4627
18ba89e06fab updated for version 7.3.1061
Bram Moolenaar <bram@vim.org>
parents: 4619
diff changeset
453 {}
18ba89e06fab updated for version 7.3.1061
Bram Moolenaar <bram@vim.org>
parents: 4619
diff changeset
454 {'a': 1}
18ba89e06fab updated for version 7.3.1061
Bram Moolenaar <bram@vim.org>
parents: 4619
diff changeset
455 {'a': 1}
4629
e4e48d4ee040 updated for version 7.3.1062
Bram Moolenaar <bram@vim.org>
parents: 4627
diff changeset
456 []
4976
4ed713442c51 updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents: 4972
diff changeset
457 ['a', 'b', 'c', '7']
4631
4157fef7b950 updated for version 7.3.1063
Bram Moolenaar <bram@vim.org>
parents: 4629
diff changeset
458 function('tr')
8889
8755d57debaa commit https://github.com/vim/vim/commit/8110a091bc749d8748a20807a724a3af3ca6d509
Christian Brabandt <cb@256bit.org>
parents: 7660
diff changeset
459 function('tr', [123, 3, 4])
8755d57debaa commit https://github.com/vim/vim/commit/8110a091bc749d8748a20807a724a3af3ca6d509
Christian Brabandt <cb@256bit.org>
parents: 7660
diff changeset
460 function('tr')
8755d57debaa commit https://github.com/vim/vim/commit/8110a091bc749d8748a20807a724a3af3ca6d509
Christian Brabandt <cb@256bit.org>
parents: 7660
diff changeset
461 function('tr', {})
8755d57debaa commit https://github.com/vim/vim/commit/8110a091bc749d8748a20807a724a3af3ca6d509
Christian Brabandt <cb@256bit.org>
parents: 7660
diff changeset
462 function('tr', [123, 3, 4], {})
9119
39cc63e8df7c commit https://github.com/vim/vim/commit/2177f9fe18a927ef65ccebb0856722a28dc00252
Christian Brabandt <cb@256bit.org>
parents: 8967
diff changeset
463 auto_rebind
39cc63e8df7c commit https://github.com/vim/vim/commit/2177f9fe18a927ef65ccebb0856722a28dc00252
Christian Brabandt <cb@256bit.org>
parents: 8967
diff changeset
464 function('tr')
39cc63e8df7c commit https://github.com/vim/vim/commit/2177f9fe18a927ef65ccebb0856722a28dc00252
Christian Brabandt <cb@256bit.org>
parents: 8967
diff changeset
465 function('tr', [123, 3, 4])
39cc63e8df7c commit https://github.com/vim/vim/commit/2177f9fe18a927ef65ccebb0856722a28dc00252
Christian Brabandt <cb@256bit.org>
parents: 8967
diff changeset
466 function('tr')
39cc63e8df7c commit https://github.com/vim/vim/commit/2177f9fe18a927ef65ccebb0856722a28dc00252
Christian Brabandt <cb@256bit.org>
parents: 8967
diff changeset
467 function('tr', {})
39cc63e8df7c commit https://github.com/vim/vim/commit/2177f9fe18a927ef65ccebb0856722a28dc00252
Christian Brabandt <cb@256bit.org>
parents: 8967
diff changeset
468 function('tr', [123, 3, 4], {})
8889
8755d57debaa commit https://github.com/vim/vim/commit/8110a091bc749d8748a20807a724a3af3ca6d509
Christian Brabandt <cb@256bit.org>
parents: 7660
diff changeset
469 a: <vim.Function 'Args'>
8755d57debaa commit https://github.com/vim/vim/commit/8110a091bc749d8748a20807a724a3af3ca6d509
Christian Brabandt <cb@256bit.org>
parents: 7660
diff changeset
470 pa1: <vim.Function 'Args', args=['abcArgsPA1']>
8755d57debaa commit https://github.com/vim/vim/commit/8110a091bc749d8748a20807a724a3af3ca6d509
Christian Brabandt <cb@256bit.org>
parents: 7660
diff changeset
471 pa2: <vim.Function 'Args'>
8755d57debaa commit https://github.com/vim/vim/commit/8110a091bc749d8748a20807a724a3af3ca6d509
Christian Brabandt <cb@256bit.org>
parents: 7660
diff changeset
472 pa3: <vim.Function 'Args', args=['abcArgsPA3'], self={'abcSelfPA3': 'abcSelfPA3Val'}>
8755d57debaa commit https://github.com/vim/vim/commit/8110a091bc749d8748a20807a724a3af3ca6d509
Christian Brabandt <cb@256bit.org>
parents: 7660
diff changeset
473 pa4: <vim.Function 'Args', self={'abcSelfPA4': 'abcSelfPA4Val'}>
8755d57debaa commit https://github.com/vim/vim/commit/8110a091bc749d8748a20807a724a3af3ca6d509
Christian Brabandt <cb@256bit.org>
parents: 7660
diff changeset
474 sa: <vim.Function 'SelfArgs'>
8755d57debaa commit https://github.com/vim/vim/commit/8110a091bc749d8748a20807a724a3af3ca6d509
Christian Brabandt <cb@256bit.org>
parents: 7660
diff changeset
475 psa1: <vim.Function 'SelfArgs', args=['abcArgsPSA1']>
8755d57debaa commit https://github.com/vim/vim/commit/8110a091bc749d8748a20807a724a3af3ca6d509
Christian Brabandt <cb@256bit.org>
parents: 7660
diff changeset
476 psa2: <vim.Function 'SelfArgs'>
8755d57debaa commit https://github.com/vim/vim/commit/8110a091bc749d8748a20807a724a3af3ca6d509
Christian Brabandt <cb@256bit.org>
parents: 7660
diff changeset
477 psa3: <vim.Function 'SelfArgs', args=['abcArgsPSA3'], self={'abcSelfPSA3': 'abcSelfPSA3Val'}>
8755d57debaa commit https://github.com/vim/vim/commit/8110a091bc749d8748a20807a724a3af3ca6d509
Christian Brabandt <cb@256bit.org>
parents: 7660
diff changeset
478 psa4: <vim.Function 'SelfArgs', self={'abcSelfPSA4': 'abcSelfPSA4Val'}>
9119
39cc63e8df7c commit https://github.com/vim/vim/commit/2177f9fe18a927ef65ccebb0856722a28dc00252
Christian Brabandt <cb@256bit.org>
parents: 8967
diff changeset
479 psa5: <vim.Function 'SelfArgs', self={'abcSelfPSA5': 'abcSelfPSA5Val'}>
39cc63e8df7c commit https://github.com/vim/vim/commit/2177f9fe18a927ef65ccebb0856722a28dc00252
Christian Brabandt <cb@256bit.org>
parents: 8967
diff changeset
480 psa6: <vim.Function 'SelfArgs', args=['abcArgsPSA6'], self={'abcSelfPSA6': 'abcSelfPSA6Val'}>
39cc63e8df7c commit https://github.com/vim/vim/commit/2177f9fe18a927ef65ccebb0856722a28dc00252
Christian Brabandt <cb@256bit.org>
parents: 8967
diff changeset
481 psa7: <vim.Function 'SelfArgs', args=['abcArgsPSA7']>
39cc63e8df7c commit https://github.com/vim/vim/commit/2177f9fe18a927ef65ccebb0856722a28dc00252
Christian Brabandt <cb@256bit.org>
parents: 8967
diff changeset
482 psa8: <vim.Function 'SelfArgs'>
39cc63e8df7c commit https://github.com/vim/vim/commit/2177f9fe18a927ef65ccebb0856722a28dc00252
Christian Brabandt <cb@256bit.org>
parents: 8967
diff changeset
483 psa9: <vim.Function 'SelfArgs', self={'abcSelfPSA9': 'abcSelfPSA9Val'}, auto_rebind=True>
39cc63e8df7c commit https://github.com/vim/vim/commit/2177f9fe18a927ef65ccebb0856722a28dc00252
Christian Brabandt <cb@256bit.org>
parents: 8967
diff changeset
484 psaA: <vim.Function 'SelfArgs', args=['abcArgsPSAA'], self={'abcSelfPSAA': 'abcSelfPSAAVal'}, auto_rebind=True>
39cc63e8df7c commit https://github.com/vim/vim/commit/2177f9fe18a927ef65ccebb0856722a28dc00252
Christian Brabandt <cb@256bit.org>
parents: 8967
diff changeset
485 psaB: <vim.Function 'SelfArgs', args=['abcArgsPSAB']>
39cc63e8df7c commit https://github.com/vim/vim/commit/2177f9fe18a927ef65ccebb0856722a28dc00252
Christian Brabandt <cb@256bit.org>
parents: 8967
diff changeset
486 psaC: <vim.Function 'SelfArgs'>
9157
e316b83892c1 commit https://github.com/vim/vim/commit/18dfb4404a618c52ee7138630a2381aed4d66eaf
Christian Brabandt <cb@256bit.org>
parents: 9119
diff changeset
487 psar: <vim.Function 'SelfArgs', args=[{'abcArgsPSAr2': [{'rec': function('SelfArgs', [{...}], {...}), 'self': {...}, 'abcSelfPSAr': 'abcSelfPSArVal', 'args': [{...}]}, {...}], 'abcArgsPSAr': 'abcArgsPSArVal'}], self={'rec': function('SelfArgs', [{'abcArgsPSAr2': [{...}, {...}], 'abcArgsPSAr': 'abcArgsPSArVal'}], {...}), 'self': {...}, 'abcSelfPSAr': 'abcSelfPSArVal', 'args': [{'abcArgsPSAr2': [{...}, {...}], 'abcArgsPSAr': 'abcArgsPSArVal'}]}>
8889
8755d57debaa commit https://github.com/vim/vim/commit/8110a091bc749d8748a20807a724a3af3ca6d509
Christian Brabandt <cb@256bit.org>
parents: 7660
diff changeset
488 s(a): function('Args')
8755d57debaa commit https://github.com/vim/vim/commit/8110a091bc749d8748a20807a724a3af3ca6d509
Christian Brabandt <cb@256bit.org>
parents: 7660
diff changeset
489 s(pa1): function('Args', ['abcArgsPA1'])
8755d57debaa commit https://github.com/vim/vim/commit/8110a091bc749d8748a20807a724a3af3ca6d509
Christian Brabandt <cb@256bit.org>
parents: 7660
diff changeset
490 s(pa2): function('Args')
8755d57debaa commit https://github.com/vim/vim/commit/8110a091bc749d8748a20807a724a3af3ca6d509
Christian Brabandt <cb@256bit.org>
parents: 7660
diff changeset
491 s(pa3): function('Args', ['abcArgsPA3'], {'abcSelfPA3': 'abcSelfPA3Val'})
8755d57debaa commit https://github.com/vim/vim/commit/8110a091bc749d8748a20807a724a3af3ca6d509
Christian Brabandt <cb@256bit.org>
parents: 7660
diff changeset
492 s(pa4): function('Args', {'abcSelfPA4': 'abcSelfPA4Val'})
8755d57debaa commit https://github.com/vim/vim/commit/8110a091bc749d8748a20807a724a3af3ca6d509
Christian Brabandt <cb@256bit.org>
parents: 7660
diff changeset
493 s(sa): function('SelfArgs')
8755d57debaa commit https://github.com/vim/vim/commit/8110a091bc749d8748a20807a724a3af3ca6d509
Christian Brabandt <cb@256bit.org>
parents: 7660
diff changeset
494 s(psa1): function('SelfArgs', ['abcArgsPSA1'])
8755d57debaa commit https://github.com/vim/vim/commit/8110a091bc749d8748a20807a724a3af3ca6d509
Christian Brabandt <cb@256bit.org>
parents: 7660
diff changeset
495 s(psa2): function('SelfArgs')
8755d57debaa commit https://github.com/vim/vim/commit/8110a091bc749d8748a20807a724a3af3ca6d509
Christian Brabandt <cb@256bit.org>
parents: 7660
diff changeset
496 s(psa3): function('SelfArgs', ['abcArgsPSA3'], {'abcSelfPSA3': 'abcSelfPSA3Val'})
8755d57debaa commit https://github.com/vim/vim/commit/8110a091bc749d8748a20807a724a3af3ca6d509
Christian Brabandt <cb@256bit.org>
parents: 7660
diff changeset
497 s(psa4): function('SelfArgs', {'abcSelfPSA4': 'abcSelfPSA4Val'})
9119
39cc63e8df7c commit https://github.com/vim/vim/commit/2177f9fe18a927ef65ccebb0856722a28dc00252
Christian Brabandt <cb@256bit.org>
parents: 8967
diff changeset
498 s(psa5): function('SelfArgs', {'abcSelfPSA5': 'abcSelfPSA5Val'})
39cc63e8df7c commit https://github.com/vim/vim/commit/2177f9fe18a927ef65ccebb0856722a28dc00252
Christian Brabandt <cb@256bit.org>
parents: 8967
diff changeset
499 s(psa6): function('SelfArgs', ['abcArgsPSA6'], {'abcSelfPSA6': 'abcSelfPSA6Val'})
39cc63e8df7c commit https://github.com/vim/vim/commit/2177f9fe18a927ef65ccebb0856722a28dc00252
Christian Brabandt <cb@256bit.org>
parents: 8967
diff changeset
500 s(psa7): function('SelfArgs', ['abcArgsPSA7'])
39cc63e8df7c commit https://github.com/vim/vim/commit/2177f9fe18a927ef65ccebb0856722a28dc00252
Christian Brabandt <cb@256bit.org>
parents: 8967
diff changeset
501 s(psa8): function('SelfArgs')
39cc63e8df7c commit https://github.com/vim/vim/commit/2177f9fe18a927ef65ccebb0856722a28dc00252
Christian Brabandt <cb@256bit.org>
parents: 8967
diff changeset
502 s(psa9): function('SelfArgs', {'abcSelfPSA9': 'abcSelfPSA9Val'})
39cc63e8df7c commit https://github.com/vim/vim/commit/2177f9fe18a927ef65ccebb0856722a28dc00252
Christian Brabandt <cb@256bit.org>
parents: 8967
diff changeset
503 s(psaA): function('SelfArgs', ['abcArgsPSAA'], {'abcSelfPSAA': 'abcSelfPSAAVal'})
39cc63e8df7c commit https://github.com/vim/vim/commit/2177f9fe18a927ef65ccebb0856722a28dc00252
Christian Brabandt <cb@256bit.org>
parents: 8967
diff changeset
504 s(psaB): function('SelfArgs', ['abcArgsPSAB'])
39cc63e8df7c commit https://github.com/vim/vim/commit/2177f9fe18a927ef65ccebb0856722a28dc00252
Christian Brabandt <cb@256bit.org>
parents: 8967
diff changeset
505 s(psaC): function('SelfArgs')
39cc63e8df7c commit https://github.com/vim/vim/commit/2177f9fe18a927ef65ccebb0856722a28dc00252
Christian Brabandt <cb@256bit.org>
parents: 8967
diff changeset
506 d.sa(): [[], {'f': function('SelfArgs')}]
39cc63e8df7c commit https://github.com/vim/vim/commit/2177f9fe18a927ef65ccebb0856722a28dc00252
Christian Brabandt <cb@256bit.org>
parents: 8967
diff changeset
507 d.psa1(): [['abcArgsPSA1'], {'f': function('SelfArgs', ['abcArgsPSA1'])}]
39cc63e8df7c commit https://github.com/vim/vim/commit/2177f9fe18a927ef65ccebb0856722a28dc00252
Christian Brabandt <cb@256bit.org>
parents: 8967
diff changeset
508 d.psa2(): [[], {'f': function('SelfArgs')}]
39cc63e8df7c commit https://github.com/vim/vim/commit/2177f9fe18a927ef65ccebb0856722a28dc00252
Christian Brabandt <cb@256bit.org>
parents: 8967
diff changeset
509 d.psa3(): [['abcArgsPSA3'], {'abcSelfPSA3': 'abcSelfPSA3Val'}]
39cc63e8df7c commit https://github.com/vim/vim/commit/2177f9fe18a927ef65ccebb0856722a28dc00252
Christian Brabandt <cb@256bit.org>
parents: 8967
diff changeset
510 d.psa4(): [[], {'abcSelfPSA4': 'abcSelfPSA4Val'}]
39cc63e8df7c commit https://github.com/vim/vim/commit/2177f9fe18a927ef65ccebb0856722a28dc00252
Christian Brabandt <cb@256bit.org>
parents: 8967
diff changeset
511 d.psa5(): [[], {'abcSelfPSA5': 'abcSelfPSA5Val'}]
39cc63e8df7c commit https://github.com/vim/vim/commit/2177f9fe18a927ef65ccebb0856722a28dc00252
Christian Brabandt <cb@256bit.org>
parents: 8967
diff changeset
512 d.psa6(): [['abcArgsPSA6'], {'abcSelfPSA6': 'abcSelfPSA6Val'}]
39cc63e8df7c commit https://github.com/vim/vim/commit/2177f9fe18a927ef65ccebb0856722a28dc00252
Christian Brabandt <cb@256bit.org>
parents: 8967
diff changeset
513 d.psa7(): [['abcArgsPSA7'], {'f': function('SelfArgs', ['abcArgsPSA7'])}]
39cc63e8df7c commit https://github.com/vim/vim/commit/2177f9fe18a927ef65ccebb0856722a28dc00252
Christian Brabandt <cb@256bit.org>
parents: 8967
diff changeset
514 d.psa8(): [[], {'f': function('SelfArgs')}]
39cc63e8df7c commit https://github.com/vim/vim/commit/2177f9fe18a927ef65ccebb0856722a28dc00252
Christian Brabandt <cb@256bit.org>
parents: 8967
diff changeset
515 d.psa9(): [[], {'f': function('SelfArgs', {'abcSelfPSA9': 'abcSelfPSA9Val'})}]
39cc63e8df7c commit https://github.com/vim/vim/commit/2177f9fe18a927ef65ccebb0856722a28dc00252
Christian Brabandt <cb@256bit.org>
parents: 8967
diff changeset
516 d.psaA(): [['abcArgsPSAA'], {'f': function('SelfArgs', ['abcArgsPSAA'], {'abcSelfPSAA': 'abcSelfPSAAVal'})}]
39cc63e8df7c commit https://github.com/vim/vim/commit/2177f9fe18a927ef65ccebb0856722a28dc00252
Christian Brabandt <cb@256bit.org>
parents: 8967
diff changeset
517 d.psaB(): [['abcArgsPSAB'], {'f': function('SelfArgs', ['abcArgsPSAB'])}]
39cc63e8df7c commit https://github.com/vim/vim/commit/2177f9fe18a927ef65ccebb0856722a28dc00252
Christian Brabandt <cb@256bit.org>
parents: 8967
diff changeset
518 d.psaC(): [[], {'f': function('SelfArgs')}]
8889
8755d57debaa commit https://github.com/vim/vim/commit/8110a091bc749d8748a20807a724a3af3ca6d509
Christian Brabandt <cb@256bit.org>
parents: 7660
diff changeset
519 a(): !result: []
8755d57debaa commit https://github.com/vim/vim/commit/8110a091bc749d8748a20807a724a3af3ca6d509
Christian Brabandt <cb@256bit.org>
parents: 7660
diff changeset
520 pa1(): !result: ['abcArgsPA1']
8755d57debaa commit https://github.com/vim/vim/commit/8110a091bc749d8748a20807a724a3af3ca6d509
Christian Brabandt <cb@256bit.org>
parents: 7660
diff changeset
521 pa2(): !result: []
8755d57debaa commit https://github.com/vim/vim/commit/8110a091bc749d8748a20807a724a3af3ca6d509
Christian Brabandt <cb@256bit.org>
parents: 7660
diff changeset
522 pa3(): !result: ['abcArgsPA3']
8755d57debaa commit https://github.com/vim/vim/commit/8110a091bc749d8748a20807a724a3af3ca6d509
Christian Brabandt <cb@256bit.org>
parents: 7660
diff changeset
523 pa4(): !result: []
8755d57debaa commit https://github.com/vim/vim/commit/8110a091bc749d8748a20807a724a3af3ca6d509
Christian Brabandt <cb@256bit.org>
parents: 7660
diff changeset
524 sa(): !exception: error:('Vim:E725: Calling dict function without Dictionary: SelfArgs',)
8755d57debaa commit https://github.com/vim/vim/commit/8110a091bc749d8748a20807a724a3af3ca6d509
Christian Brabandt <cb@256bit.org>
parents: 7660
diff changeset
525 psa1(): !exception: error:('Vim:E725: Calling dict function without Dictionary: SelfArgs',)
8755d57debaa commit https://github.com/vim/vim/commit/8110a091bc749d8748a20807a724a3af3ca6d509
Christian Brabandt <cb@256bit.org>
parents: 7660
diff changeset
526 psa2(): !exception: error:('Vim:E725: Calling dict function without Dictionary: SelfArgs',)
8755d57debaa commit https://github.com/vim/vim/commit/8110a091bc749d8748a20807a724a3af3ca6d509
Christian Brabandt <cb@256bit.org>
parents: 7660
diff changeset
527 psa3(): !result: [['abcArgsPSA3'], {'abcSelfPSA3': 'abcSelfPSA3Val'}]
8755d57debaa commit https://github.com/vim/vim/commit/8110a091bc749d8748a20807a724a3af3ca6d509
Christian Brabandt <cb@256bit.org>
parents: 7660
diff changeset
528 psa4(): !result: [[], {'abcSelfPSA4': 'abcSelfPSA4Val'}]
8755d57debaa commit https://github.com/vim/vim/commit/8110a091bc749d8748a20807a724a3af3ca6d509
Christian Brabandt <cb@256bit.org>
parents: 7660
diff changeset
529 a(42, 43): !result: [42, 43]
8755d57debaa commit https://github.com/vim/vim/commit/8110a091bc749d8748a20807a724a3af3ca6d509
Christian Brabandt <cb@256bit.org>
parents: 7660
diff changeset
530 pa1(42, 43): !result: ['abcArgsPA1', 42, 43]
8755d57debaa commit https://github.com/vim/vim/commit/8110a091bc749d8748a20807a724a3af3ca6d509
Christian Brabandt <cb@256bit.org>
parents: 7660
diff changeset
531 pa2(42, 43): !result: [42, 43]
8755d57debaa commit https://github.com/vim/vim/commit/8110a091bc749d8748a20807a724a3af3ca6d509
Christian Brabandt <cb@256bit.org>
parents: 7660
diff changeset
532 pa3(42, 43): !result: ['abcArgsPA3', 42, 43]
8755d57debaa commit https://github.com/vim/vim/commit/8110a091bc749d8748a20807a724a3af3ca6d509
Christian Brabandt <cb@256bit.org>
parents: 7660
diff changeset
533 pa4(42, 43): !result: [42, 43]
8755d57debaa commit https://github.com/vim/vim/commit/8110a091bc749d8748a20807a724a3af3ca6d509
Christian Brabandt <cb@256bit.org>
parents: 7660
diff changeset
534 sa(42, 43): !exception: error:('Vim:E725: Calling dict function without Dictionary: SelfArgs',)
8755d57debaa commit https://github.com/vim/vim/commit/8110a091bc749d8748a20807a724a3af3ca6d509
Christian Brabandt <cb@256bit.org>
parents: 7660
diff changeset
535 psa1(42, 43): !exception: error:('Vim:E725: Calling dict function without Dictionary: SelfArgs',)
8755d57debaa commit https://github.com/vim/vim/commit/8110a091bc749d8748a20807a724a3af3ca6d509
Christian Brabandt <cb@256bit.org>
parents: 7660
diff changeset
536 psa2(42, 43): !exception: error:('Vim:E725: Calling dict function without Dictionary: SelfArgs',)
8755d57debaa commit https://github.com/vim/vim/commit/8110a091bc749d8748a20807a724a3af3ca6d509
Christian Brabandt <cb@256bit.org>
parents: 7660
diff changeset
537 psa3(42, 43): !result: [['abcArgsPSA3', 42, 43], {'abcSelfPSA3': 'abcSelfPSA3Val'}]
8755d57debaa commit https://github.com/vim/vim/commit/8110a091bc749d8748a20807a724a3af3ca6d509
Christian Brabandt <cb@256bit.org>
parents: 7660
diff changeset
538 psa4(42, 43): !result: [[42, 43], {'abcSelfPSA4': 'abcSelfPSA4Val'}]
8755d57debaa commit https://github.com/vim/vim/commit/8110a091bc749d8748a20807a724a3af3ca6d509
Christian Brabandt <cb@256bit.org>
parents: 7660
diff changeset
539 a(42, self={"20": 1}): !result: [42]
8755d57debaa commit https://github.com/vim/vim/commit/8110a091bc749d8748a20807a724a3af3ca6d509
Christian Brabandt <cb@256bit.org>
parents: 7660
diff changeset
540 pa1(42, self={"20": 1}): !result: ['abcArgsPA1', 42]
8755d57debaa commit https://github.com/vim/vim/commit/8110a091bc749d8748a20807a724a3af3ca6d509
Christian Brabandt <cb@256bit.org>
parents: 7660
diff changeset
541 pa2(42, self={"20": 1}): !result: [42]
8755d57debaa commit https://github.com/vim/vim/commit/8110a091bc749d8748a20807a724a3af3ca6d509
Christian Brabandt <cb@256bit.org>
parents: 7660
diff changeset
542 pa3(42, self={"20": 1}): !result: ['abcArgsPA3', 42]
8755d57debaa commit https://github.com/vim/vim/commit/8110a091bc749d8748a20807a724a3af3ca6d509
Christian Brabandt <cb@256bit.org>
parents: 7660
diff changeset
543 pa4(42, self={"20": 1}): !result: [42]
8755d57debaa commit https://github.com/vim/vim/commit/8110a091bc749d8748a20807a724a3af3ca6d509
Christian Brabandt <cb@256bit.org>
parents: 7660
diff changeset
544 sa(42, self={"20": 1}): !result: [[42], {'20': 1}]
8755d57debaa commit https://github.com/vim/vim/commit/8110a091bc749d8748a20807a724a3af3ca6d509
Christian Brabandt <cb@256bit.org>
parents: 7660
diff changeset
545 psa1(42, self={"20": 1}): !result: [['abcArgsPSA1', 42], {'20': 1}]
8755d57debaa commit https://github.com/vim/vim/commit/8110a091bc749d8748a20807a724a3af3ca6d509
Christian Brabandt <cb@256bit.org>
parents: 7660
diff changeset
546 psa2(42, self={"20": 1}): !result: [[42], {'20': 1}]
8755d57debaa commit https://github.com/vim/vim/commit/8110a091bc749d8748a20807a724a3af3ca6d509
Christian Brabandt <cb@256bit.org>
parents: 7660
diff changeset
547 psa3(42, self={"20": 1}): !result: [['abcArgsPSA3', 42], {'20': 1}]
8755d57debaa commit https://github.com/vim/vim/commit/8110a091bc749d8748a20807a724a3af3ca6d509
Christian Brabandt <cb@256bit.org>
parents: 7660
diff changeset
548 psa4(42, self={"20": 1}): !result: [[42], {'20': 1}]
8755d57debaa commit https://github.com/vim/vim/commit/8110a091bc749d8748a20807a724a3af3ca6d509
Christian Brabandt <cb@256bit.org>
parents: 7660
diff changeset
549 a(self={"20": 1}): !result: []
8755d57debaa commit https://github.com/vim/vim/commit/8110a091bc749d8748a20807a724a3af3ca6d509
Christian Brabandt <cb@256bit.org>
parents: 7660
diff changeset
550 pa1(self={"20": 1}): !result: ['abcArgsPA1']
8755d57debaa commit https://github.com/vim/vim/commit/8110a091bc749d8748a20807a724a3af3ca6d509
Christian Brabandt <cb@256bit.org>
parents: 7660
diff changeset
551 pa2(self={"20": 1}): !result: []
8755d57debaa commit https://github.com/vim/vim/commit/8110a091bc749d8748a20807a724a3af3ca6d509
Christian Brabandt <cb@256bit.org>
parents: 7660
diff changeset
552 pa3(self={"20": 1}): !result: ['abcArgsPA3']
8755d57debaa commit https://github.com/vim/vim/commit/8110a091bc749d8748a20807a724a3af3ca6d509
Christian Brabandt <cb@256bit.org>
parents: 7660
diff changeset
553 pa4(self={"20": 1}): !result: []
8755d57debaa commit https://github.com/vim/vim/commit/8110a091bc749d8748a20807a724a3af3ca6d509
Christian Brabandt <cb@256bit.org>
parents: 7660
diff changeset
554 sa(self={"20": 1}): !result: [[], {'20': 1}]
8755d57debaa commit https://github.com/vim/vim/commit/8110a091bc749d8748a20807a724a3af3ca6d509
Christian Brabandt <cb@256bit.org>
parents: 7660
diff changeset
555 psa1(self={"20": 1}): !result: [['abcArgsPSA1'], {'20': 1}]
8755d57debaa commit https://github.com/vim/vim/commit/8110a091bc749d8748a20807a724a3af3ca6d509
Christian Brabandt <cb@256bit.org>
parents: 7660
diff changeset
556 psa2(self={"20": 1}): !result: [[], {'20': 1}]
8755d57debaa commit https://github.com/vim/vim/commit/8110a091bc749d8748a20807a724a3af3ca6d509
Christian Brabandt <cb@256bit.org>
parents: 7660
diff changeset
557 psa3(self={"20": 1}): !result: [['abcArgsPSA3'], {'20': 1}]
8755d57debaa commit https://github.com/vim/vim/commit/8110a091bc749d8748a20807a724a3af3ca6d509
Christian Brabandt <cb@256bit.org>
parents: 7660
diff changeset
558 psa4(self={"20": 1}): !result: [[], {'20': 1}]
8755d57debaa commit https://github.com/vim/vim/commit/8110a091bc749d8748a20807a724a3af3ca6d509
Christian Brabandt <cb@256bit.org>
parents: 7660
diff changeset
559 a.args: None
8755d57debaa commit https://github.com/vim/vim/commit/8110a091bc749d8748a20807a724a3af3ca6d509
Christian Brabandt <cb@256bit.org>
parents: 7660
diff changeset
560 pa1.args: ['abcArgsPA1']
8755d57debaa commit https://github.com/vim/vim/commit/8110a091bc749d8748a20807a724a3af3ca6d509
Christian Brabandt <cb@256bit.org>
parents: 7660
diff changeset
561 pa2.args: None
8755d57debaa commit https://github.com/vim/vim/commit/8110a091bc749d8748a20807a724a3af3ca6d509
Christian Brabandt <cb@256bit.org>
parents: 7660
diff changeset
562 pa3.args: ['abcArgsPA3']
8755d57debaa commit https://github.com/vim/vim/commit/8110a091bc749d8748a20807a724a3af3ca6d509
Christian Brabandt <cb@256bit.org>
parents: 7660
diff changeset
563 pa4.args: None
8755d57debaa commit https://github.com/vim/vim/commit/8110a091bc749d8748a20807a724a3af3ca6d509
Christian Brabandt <cb@256bit.org>
parents: 7660
diff changeset
564 sa.args: None
8755d57debaa commit https://github.com/vim/vim/commit/8110a091bc749d8748a20807a724a3af3ca6d509
Christian Brabandt <cb@256bit.org>
parents: 7660
diff changeset
565 psa1.args: ['abcArgsPSA1']
8755d57debaa commit https://github.com/vim/vim/commit/8110a091bc749d8748a20807a724a3af3ca6d509
Christian Brabandt <cb@256bit.org>
parents: 7660
diff changeset
566 psa2.args: None
8755d57debaa commit https://github.com/vim/vim/commit/8110a091bc749d8748a20807a724a3af3ca6d509
Christian Brabandt <cb@256bit.org>
parents: 7660
diff changeset
567 psa3.args: ['abcArgsPSA3']
8755d57debaa commit https://github.com/vim/vim/commit/8110a091bc749d8748a20807a724a3af3ca6d509
Christian Brabandt <cb@256bit.org>
parents: 7660
diff changeset
568 psa4.args: None
8755d57debaa commit https://github.com/vim/vim/commit/8110a091bc749d8748a20807a724a3af3ca6d509
Christian Brabandt <cb@256bit.org>
parents: 7660
diff changeset
569 a.self: None
8755d57debaa commit https://github.com/vim/vim/commit/8110a091bc749d8748a20807a724a3af3ca6d509
Christian Brabandt <cb@256bit.org>
parents: 7660
diff changeset
570 pa1.self: None
8755d57debaa commit https://github.com/vim/vim/commit/8110a091bc749d8748a20807a724a3af3ca6d509
Christian Brabandt <cb@256bit.org>
parents: 7660
diff changeset
571 pa2.self: None
8755d57debaa commit https://github.com/vim/vim/commit/8110a091bc749d8748a20807a724a3af3ca6d509
Christian Brabandt <cb@256bit.org>
parents: 7660
diff changeset
572 pa3.self: {'abcSelfPA3': 'abcSelfPA3Val'}
8755d57debaa commit https://github.com/vim/vim/commit/8110a091bc749d8748a20807a724a3af3ca6d509
Christian Brabandt <cb@256bit.org>
parents: 7660
diff changeset
573 pa4.self: {'abcSelfPA4': 'abcSelfPA4Val'}
8755d57debaa commit https://github.com/vim/vim/commit/8110a091bc749d8748a20807a724a3af3ca6d509
Christian Brabandt <cb@256bit.org>
parents: 7660
diff changeset
574 sa.self: None
8755d57debaa commit https://github.com/vim/vim/commit/8110a091bc749d8748a20807a724a3af3ca6d509
Christian Brabandt <cb@256bit.org>
parents: 7660
diff changeset
575 psa1.self: None
8755d57debaa commit https://github.com/vim/vim/commit/8110a091bc749d8748a20807a724a3af3ca6d509
Christian Brabandt <cb@256bit.org>
parents: 7660
diff changeset
576 psa2.self: None
8755d57debaa commit https://github.com/vim/vim/commit/8110a091bc749d8748a20807a724a3af3ca6d509
Christian Brabandt <cb@256bit.org>
parents: 7660
diff changeset
577 psa3.self: {'abcSelfPSA3': 'abcSelfPSA3Val'}
8755d57debaa commit https://github.com/vim/vim/commit/8110a091bc749d8748a20807a724a3af3ca6d509
Christian Brabandt <cb@256bit.org>
parents: 7660
diff changeset
578 psa4.self: {'abcSelfPSA4': 'abcSelfPSA4Val'}
8755d57debaa commit https://github.com/vim/vim/commit/8110a091bc749d8748a20807a724a3af3ca6d509
Christian Brabandt <cb@256bit.org>
parents: 7660
diff changeset
579 a.name: 'Args'
8755d57debaa commit https://github.com/vim/vim/commit/8110a091bc749d8748a20807a724a3af3ca6d509
Christian Brabandt <cb@256bit.org>
parents: 7660
diff changeset
580 pa1.name: 'Args'
8755d57debaa commit https://github.com/vim/vim/commit/8110a091bc749d8748a20807a724a3af3ca6d509
Christian Brabandt <cb@256bit.org>
parents: 7660
diff changeset
581 pa2.name: 'Args'
8755d57debaa commit https://github.com/vim/vim/commit/8110a091bc749d8748a20807a724a3af3ca6d509
Christian Brabandt <cb@256bit.org>
parents: 7660
diff changeset
582 pa3.name: 'Args'
8755d57debaa commit https://github.com/vim/vim/commit/8110a091bc749d8748a20807a724a3af3ca6d509
Christian Brabandt <cb@256bit.org>
parents: 7660
diff changeset
583 pa4.name: 'Args'
8755d57debaa commit https://github.com/vim/vim/commit/8110a091bc749d8748a20807a724a3af3ca6d509
Christian Brabandt <cb@256bit.org>
parents: 7660
diff changeset
584 sa.name: 'SelfArgs'
8755d57debaa commit https://github.com/vim/vim/commit/8110a091bc749d8748a20807a724a3af3ca6d509
Christian Brabandt <cb@256bit.org>
parents: 7660
diff changeset
585 psa1.name: 'SelfArgs'
8755d57debaa commit https://github.com/vim/vim/commit/8110a091bc749d8748a20807a724a3af3ca6d509
Christian Brabandt <cb@256bit.org>
parents: 7660
diff changeset
586 psa2.name: 'SelfArgs'
8755d57debaa commit https://github.com/vim/vim/commit/8110a091bc749d8748a20807a724a3af3ca6d509
Christian Brabandt <cb@256bit.org>
parents: 7660
diff changeset
587 psa3.name: 'SelfArgs'
8755d57debaa commit https://github.com/vim/vim/commit/8110a091bc749d8748a20807a724a3af3ca6d509
Christian Brabandt <cb@256bit.org>
parents: 7660
diff changeset
588 psa4.name: 'SelfArgs'
9119
39cc63e8df7c commit https://github.com/vim/vim/commit/2177f9fe18a927ef65ccebb0856722a28dc00252
Christian Brabandt <cb@256bit.org>
parents: 8967
diff changeset
589 a.auto_rebind: 1
39cc63e8df7c commit https://github.com/vim/vim/commit/2177f9fe18a927ef65ccebb0856722a28dc00252
Christian Brabandt <cb@256bit.org>
parents: 8967
diff changeset
590 pa1.auto_rebind: 1
39cc63e8df7c commit https://github.com/vim/vim/commit/2177f9fe18a927ef65ccebb0856722a28dc00252
Christian Brabandt <cb@256bit.org>
parents: 8967
diff changeset
591 pa2.auto_rebind: 1
39cc63e8df7c commit https://github.com/vim/vim/commit/2177f9fe18a927ef65ccebb0856722a28dc00252
Christian Brabandt <cb@256bit.org>
parents: 8967
diff changeset
592 pa3.auto_rebind: 0
39cc63e8df7c commit https://github.com/vim/vim/commit/2177f9fe18a927ef65ccebb0856722a28dc00252
Christian Brabandt <cb@256bit.org>
parents: 8967
diff changeset
593 pa4.auto_rebind: 0
39cc63e8df7c commit https://github.com/vim/vim/commit/2177f9fe18a927ef65ccebb0856722a28dc00252
Christian Brabandt <cb@256bit.org>
parents: 8967
diff changeset
594 sa.auto_rebind: 1
39cc63e8df7c commit https://github.com/vim/vim/commit/2177f9fe18a927ef65ccebb0856722a28dc00252
Christian Brabandt <cb@256bit.org>
parents: 8967
diff changeset
595 psa1.auto_rebind: 1
39cc63e8df7c commit https://github.com/vim/vim/commit/2177f9fe18a927ef65ccebb0856722a28dc00252
Christian Brabandt <cb@256bit.org>
parents: 8967
diff changeset
596 psa2.auto_rebind: 1
39cc63e8df7c commit https://github.com/vim/vim/commit/2177f9fe18a927ef65ccebb0856722a28dc00252
Christian Brabandt <cb@256bit.org>
parents: 8967
diff changeset
597 psa3.auto_rebind: 0
39cc63e8df7c commit https://github.com/vim/vim/commit/2177f9fe18a927ef65ccebb0856722a28dc00252
Christian Brabandt <cb@256bit.org>
parents: 8967
diff changeset
598 psa4.auto_rebind: 0
39cc63e8df7c commit https://github.com/vim/vim/commit/2177f9fe18a927ef65ccebb0856722a28dc00252
Christian Brabandt <cb@256bit.org>
parents: 8967
diff changeset
599 psa5.auto_rebind: 0
39cc63e8df7c commit https://github.com/vim/vim/commit/2177f9fe18a927ef65ccebb0856722a28dc00252
Christian Brabandt <cb@256bit.org>
parents: 8967
diff changeset
600 psa6.auto_rebind: 0
39cc63e8df7c commit https://github.com/vim/vim/commit/2177f9fe18a927ef65ccebb0856722a28dc00252
Christian Brabandt <cb@256bit.org>
parents: 8967
diff changeset
601 psa7.auto_rebind: 1
39cc63e8df7c commit https://github.com/vim/vim/commit/2177f9fe18a927ef65ccebb0856722a28dc00252
Christian Brabandt <cb@256bit.org>
parents: 8967
diff changeset
602 psa8.auto_rebind: 1
39cc63e8df7c commit https://github.com/vim/vim/commit/2177f9fe18a927ef65ccebb0856722a28dc00252
Christian Brabandt <cb@256bit.org>
parents: 8967
diff changeset
603 psa9.auto_rebind: 1
39cc63e8df7c commit https://github.com/vim/vim/commit/2177f9fe18a927ef65ccebb0856722a28dc00252
Christian Brabandt <cb@256bit.org>
parents: 8967
diff changeset
604 psaA.auto_rebind: 1
39cc63e8df7c commit https://github.com/vim/vim/commit/2177f9fe18a927ef65ccebb0856722a28dc00252
Christian Brabandt <cb@256bit.org>
parents: 8967
diff changeset
605 psaB.auto_rebind: 1
39cc63e8df7c commit https://github.com/vim/vim/commit/2177f9fe18a927ef65ccebb0856722a28dc00252
Christian Brabandt <cb@256bit.org>
parents: 8967
diff changeset
606 psaC.auto_rebind: 1
4619
90beab957ba9 updated for version 7.3.1057
Bram Moolenaar <bram@vim.org>
parents: 4613
diff changeset
607 '
90beab957ba9 updated for version 7.3.1057
Bram Moolenaar <bram@vim.org>
parents: 4613
diff changeset
608 abcdef
8889
8755d57debaa commit https://github.com/vim/vim/commit/8110a091bc749d8748a20807a724a3af3ca6d509
Christian Brabandt <cb@256bit.org>
parents: 7660
diff changeset
609 Error detected while processing function RunTest[]..Test:
8755d57debaa commit https://github.com/vim/vim/commit/8110a091bc749d8748a20807a724a3af3ca6d509
Christian Brabandt <cb@256bit.org>
parents: 7660
diff changeset
610 line :
4619
90beab957ba9 updated for version 7.3.1057
Bram Moolenaar <bram@vim.org>
parents: 4613
diff changeset
611 abcdef
4976
4ed713442c51 updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents: 4972
diff changeset
612 abcA
8889
8755d57debaa commit https://github.com/vim/vim/commit/8110a091bc749d8748a20807a724a3af3ca6d509
Christian Brabandt <cb@256bit.org>
parents: 7660
diff changeset
613 line :
4976
4ed713442c51 updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents: 4972
diff changeset
614 abcB'
4627
18ba89e06fab updated for version 7.3.1061
Bram Moolenaar <bram@vim.org>
parents: 4619
diff changeset
615 ['a', 'dup_a']
4629
e4e48d4ee040 updated for version 7.3.1062
Bram Moolenaar <bram@vim.org>
parents: 4627
diff changeset
616 ['a', 'a']
4976
4ed713442c51 updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents: 4972
diff changeset
617 ['a', 'b', 'c', 'C']
4631
4157fef7b950 updated for version 7.3.1063
Bram Moolenaar <bram@vim.org>
parents: 4629
diff changeset
618 [2, 2]
4157fef7b950 updated for version 7.3.1063
Bram Moolenaar <bram@vim.org>
parents: 4629
diff changeset
619 [2, 2]
4976
4ed713442c51 updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents: 4972
diff changeset
620 1
4ed713442c51 updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents: 4972
diff changeset
621 1
4ed713442c51 updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents: 4972
diff changeset
622 function('Put')
4704
542af01979be updated for version 7.3.1099
Bram Moolenaar <bram@vim.org>
parents: 4698
diff changeset
623 testdir
542af01979be updated for version 7.3.1099
Bram Moolenaar <bram@vim.org>
parents: 4698
diff changeset
624 test86.in
542af01979be updated for version 7.3.1099
Bram Moolenaar <bram@vim.org>
parents: 4698
diff changeset
625 src
542af01979be updated for version 7.3.1099
Bram Moolenaar <bram@vim.org>
parents: 4698
diff changeset
626 testdir/test86.in
542af01979be updated for version 7.3.1099
Bram Moolenaar <bram@vim.org>
parents: 4698
diff changeset
627 testdir
542af01979be updated for version 7.3.1099
Bram Moolenaar <bram@vim.org>
parents: 4698
diff changeset
628 test86.in
4637
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
629 > Output
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
630 >> OutputSetattr
10160
32dd27cceadd commit https://github.com/vim/vim/commit/cf703fe9d66744ffd7d9c625ee1cbe048ee07740
Christian Brabandt <cb@256bit.org>
parents: 9157
diff changeset
631 del sys.stdout.softspace:AttributeError:('cannot delete OutputObject attributes',)
4982
39980afcf54a updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents: 4976
diff changeset
632 >>> Testing NumberToLong using sys.stdout.softspace = %s
4972
537bbfff0c5c updated for version 7.3.1231
Bram Moolenaar <bram@vim.org>
parents: 4970
diff changeset
633 sys.stdout.softspace = []:TypeError:('expected int(), long() or something supporting coercing to long(), but got list',)
4982
39980afcf54a updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents: 4976
diff changeset
634 sys.stdout.softspace = None:TypeError:('expected int(), long() or something supporting coercing to long(), but got NoneType',)
39980afcf54a updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents: 4976
diff changeset
635 sys.stdout.softspace = -1:ValueError:('number must be greater or equal to zero',)
39980afcf54a updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents: 4976
diff changeset
636 <<< Finished
39980afcf54a updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents: 4976
diff changeset
637 >>> Testing NumberToLong using sys.stderr.softspace = %s
39980afcf54a updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents: 4976
diff changeset
638 sys.stderr.softspace = []:TypeError:('expected int(), long() or something supporting coercing to long(), but got list',)
39980afcf54a updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents: 4976
diff changeset
639 sys.stderr.softspace = None:TypeError:('expected int(), long() or something supporting coercing to long(), but got NoneType',)
39980afcf54a updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents: 4976
diff changeset
640 sys.stderr.softspace = -1:ValueError:('number must be greater or equal to zero',)
39980afcf54a updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents: 4976
diff changeset
641 <<< Finished
7191
692dac7183de commit https://github.com/vim/vim/commit/d424747d5821c2873e24d25d3407d08b25ea3443
Christian Brabandt <cb@256bit.org>
parents: 5700
diff changeset
642 assert sys.stdout.isatty()==False:NOT FAILED
692dac7183de commit https://github.com/vim/vim/commit/d424747d5821c2873e24d25d3407d08b25ea3443
Christian Brabandt <cb@256bit.org>
parents: 5700
diff changeset
643 assert sys.stdout.seekable()==False:NOT FAILED
692dac7183de commit https://github.com/vim/vim/commit/d424747d5821c2873e24d25d3407d08b25ea3443
Christian Brabandt <cb@256bit.org>
parents: 5700
diff changeset
644 sys.stdout.close():NOT FAILED
692dac7183de commit https://github.com/vim/vim/commit/d424747d5821c2873e24d25d3407d08b25ea3443
Christian Brabandt <cb@256bit.org>
parents: 5700
diff changeset
645 sys.stdout.flush():NOT FAILED
692dac7183de commit https://github.com/vim/vim/commit/d424747d5821c2873e24d25d3407d08b25ea3443
Christian Brabandt <cb@256bit.org>
parents: 5700
diff changeset
646 assert sys.stderr.isatty()==False:NOT FAILED
692dac7183de commit https://github.com/vim/vim/commit/d424747d5821c2873e24d25d3407d08b25ea3443
Christian Brabandt <cb@256bit.org>
parents: 5700
diff changeset
647 assert sys.stderr.seekable()==False:NOT FAILED
692dac7183de commit https://github.com/vim/vim/commit/d424747d5821c2873e24d25d3407d08b25ea3443
Christian Brabandt <cb@256bit.org>
parents: 5700
diff changeset
648 sys.stderr.close():NOT FAILED
692dac7183de commit https://github.com/vim/vim/commit/d424747d5821c2873e24d25d3407d08b25ea3443
Christian Brabandt <cb@256bit.org>
parents: 5700
diff changeset
649 sys.stderr.flush():NOT FAILED
4970
f5c822e5a0eb updated for version 7.3.1230
Bram Moolenaar <bram@vim.org>
parents: 4964
diff changeset
650 sys.stdout.attr = None:AttributeError:('invalid attribute: attr',)
4637
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
651 >> OutputWrite
7191
692dac7183de commit https://github.com/vim/vim/commit/d424747d5821c2873e24d25d3407d08b25ea3443
Christian Brabandt <cb@256bit.org>
parents: 5700
diff changeset
652 assert sys.stdout.writable()==True:NOT FAILED
692dac7183de commit https://github.com/vim/vim/commit/d424747d5821c2873e24d25d3407d08b25ea3443
Christian Brabandt <cb@256bit.org>
parents: 5700
diff changeset
653 assert sys.stdout.readable()==False:NOT FAILED
692dac7183de commit https://github.com/vim/vim/commit/d424747d5821c2873e24d25d3407d08b25ea3443
Christian Brabandt <cb@256bit.org>
parents: 5700
diff changeset
654 assert sys.stderr.writable()==True:NOT FAILED
692dac7183de commit https://github.com/vim/vim/commit/d424747d5821c2873e24d25d3407d08b25ea3443
Christian Brabandt <cb@256bit.org>
parents: 5700
diff changeset
655 assert sys.stderr.readable()==False:NOT FAILED
8967
df5f9284fcba commit https://github.com/vim/vim/commit/6d4431e7b675ba7a0194c0b8eb84b7d92e4e7953
Christian Brabandt <cb@256bit.org>
parents: 8889
diff changeset
656 assert sys.stdout.closed()==False:NOT FAILED
df5f9284fcba commit https://github.com/vim/vim/commit/6d4431e7b675ba7a0194c0b8eb84b7d92e4e7953
Christian Brabandt <cb@256bit.org>
parents: 8889
diff changeset
657 assert sys.stderr.closed()==False:NOT FAILED
df5f9284fcba commit https://github.com/vim/vim/commit/6d4431e7b675ba7a0194c0b8eb84b7d92e4e7953
Christian Brabandt <cb@256bit.org>
parents: 8889
diff changeset
658 assert sys.stdout.errors=="strict":NOT FAILED
df5f9284fcba commit https://github.com/vim/vim/commit/6d4431e7b675ba7a0194c0b8eb84b7d92e4e7953
Christian Brabandt <cb@256bit.org>
parents: 8889
diff changeset
659 assert sys.stderr.errors=="strict":NOT FAILED
df5f9284fcba commit https://github.com/vim/vim/commit/6d4431e7b675ba7a0194c0b8eb84b7d92e4e7953
Christian Brabandt <cb@256bit.org>
parents: 8889
diff changeset
660 assert sys.stdout.encoding==sys.stderr.encoding:NOT FAILED
4853
b584d361e746 updated for version 7.3.1173
Bram Moolenaar <bram@vim.org>
parents: 4851
diff changeset
661 sys.stdout.write(None):TypeError:('coercing to Unicode: need string or buffer, NoneType found',)
4637
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
662 >> OutputWriteLines
4853
b584d361e746 updated for version 7.3.1173
Bram Moolenaar <bram@vim.org>
parents: 4851
diff changeset
663 sys.stdout.writelines(None):TypeError:("'NoneType' object is not iterable",)
4962
b34d719b13cd updated for version 7.3.1226
Bram Moolenaar <bram@vim.org>
parents: 4853
diff changeset
664 sys.stdout.writelines([1]):TypeError:('coercing to Unicode: need string or buffer, int found',)
4982
39980afcf54a updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents: 4976
diff changeset
665 >>> Testing *Iter* using sys.stdout.writelines(%s)
39980afcf54a updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents: 4976
diff changeset
666 sys.stdout.writelines(FailingIter()):NotImplementedError:('iter',)
39980afcf54a updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents: 4976
diff changeset
667 sys.stdout.writelines(FailingIterNext()):NotImplementedError:('next',)
39980afcf54a updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents: 4976
diff changeset
668 <<< Finished
4637
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
669 > VimCommand
4982
39980afcf54a updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents: 4976
diff changeset
670 >>> Testing StringToChars using vim.command(%s)
4970
f5c822e5a0eb updated for version 7.3.1230
Bram Moolenaar <bram@vim.org>
parents: 4964
diff changeset
671 vim.command(1):TypeError:('expected str() or unicode() instance, but got int',)
4982
39980afcf54a updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents: 4976
diff changeset
672 vim.command(u"\0"):TypeError:('expected string without null bytes',)
39980afcf54a updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents: 4976
diff changeset
673 vim.command("\0"):TypeError:('expected string without null bytes',)
39980afcf54a updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents: 4976
diff changeset
674 <<< Finished
39980afcf54a updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents: 4976
diff changeset
675 vim.command("", 2):TypeError:('command() takes exactly one argument (2 given)',)
4637
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
676 > VimToPython
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
677 > VimEval
4982
39980afcf54a updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents: 4976
diff changeset
678 >>> Testing StringToChars using vim.eval(%s)
4970
f5c822e5a0eb updated for version 7.3.1230
Bram Moolenaar <bram@vim.org>
parents: 4964
diff changeset
679 vim.eval(1):TypeError:('expected str() or unicode() instance, but got int',)
4982
39980afcf54a updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents: 4976
diff changeset
680 vim.eval(u"\0"):TypeError:('expected string without null bytes',)
39980afcf54a updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents: 4976
diff changeset
681 vim.eval("\0"):TypeError:('expected string without null bytes',)
39980afcf54a updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents: 4976
diff changeset
682 <<< Finished
39980afcf54a updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents: 4976
diff changeset
683 vim.eval("", FailingTrue()):TypeError:('function takes exactly 1 argument (2 given)',)
4637
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
684 > VimEvalPy
4982
39980afcf54a updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents: 4976
diff changeset
685 >>> Testing StringToChars using vim.bindeval(%s)
4970
f5c822e5a0eb updated for version 7.3.1230
Bram Moolenaar <bram@vim.org>
parents: 4964
diff changeset
686 vim.bindeval(1):TypeError:('expected str() or unicode() instance, but got int',)
4982
39980afcf54a updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents: 4976
diff changeset
687 vim.bindeval(u"\0"):TypeError:('expected string without null bytes',)
39980afcf54a updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents: 4976
diff changeset
688 vim.bindeval("\0"):TypeError:('expected string without null bytes',)
39980afcf54a updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents: 4976
diff changeset
689 <<< Finished
39980afcf54a updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents: 4976
diff changeset
690 vim.eval("", 2):TypeError:('function takes exactly 1 argument (2 given)',)
4637
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
691 > VimStrwidth
4982
39980afcf54a updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents: 4976
diff changeset
692 >>> Testing StringToChars using vim.strwidth(%s)
4970
f5c822e5a0eb updated for version 7.3.1230
Bram Moolenaar <bram@vim.org>
parents: 4964
diff changeset
693 vim.strwidth(1):TypeError:('expected str() or unicode() instance, but got int',)
4982
39980afcf54a updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents: 4976
diff changeset
694 vim.strwidth(u"\0"):TypeError:('expected string without null bytes',)
39980afcf54a updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents: 4976
diff changeset
695 vim.strwidth("\0"):TypeError:('expected string without null bytes',)
39980afcf54a updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents: 4976
diff changeset
696 <<< Finished
39980afcf54a updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents: 4976
diff changeset
697 > VimForeachRTP
39980afcf54a updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents: 4976
diff changeset
698 vim.foreach_rtp(None):TypeError:("'NoneType' object is not callable",)
39980afcf54a updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents: 4976
diff changeset
699 vim.foreach_rtp(NoArgsCall()):TypeError:('__call__() takes exactly 1 argument (2 given)',)
39980afcf54a updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents: 4976
diff changeset
700 vim.foreach_rtp(FailingCall()):NotImplementedError:('call',)
39980afcf54a updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents: 4976
diff changeset
701 vim.foreach_rtp(int, 2):TypeError:('foreach_rtp() takes exactly one argument (2 given)',)
39980afcf54a updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents: 4976
diff changeset
702 > import
39980afcf54a updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents: 4976
diff changeset
703 import xxx_no_such_module_xxx:ImportError:('No module named xxx_no_such_module_xxx',)
14467
16cccc953909 patch 8.1.0247: Python: error message for failing import is incorrect
Christian Brabandt <cb@256bit.org>
parents: 14047
diff changeset
704 import failing_import:ImportError:()
4984
5b2c8f3b3906 updated for version 7.3.1237
Bram Moolenaar <bram@vim.org>
parents: 4982
diff changeset
705 import failing:NotImplementedError:()
5610
2ace11abcfb5 updated for version 7.4.152
Bram Moolenaar <bram@vim.org>
parents: 5608
diff changeset
706 > Options
2ace11abcfb5 updated for version 7.4.152
Bram Moolenaar <bram@vim.org>
parents: 5608
diff changeset
707 >> OptionsItem
2ace11abcfb5 updated for version 7.4.152
Bram Moolenaar <bram@vim.org>
parents: 5608
diff changeset
708 vim.options["abcQ"]:KeyError:('abcQ',)
2ace11abcfb5 updated for version 7.4.152
Bram Moolenaar <bram@vim.org>
parents: 5608
diff changeset
709 vim.options[""]:ValueError:('empty keys are not allowed',)
2ace11abcfb5 updated for version 7.4.152
Bram Moolenaar <bram@vim.org>
parents: 5608
diff changeset
710 >>> Testing StringToChars using vim.options[%s]
2ace11abcfb5 updated for version 7.4.152
Bram Moolenaar <bram@vim.org>
parents: 5608
diff changeset
711 vim.options[1]:TypeError:('expected str() or unicode() instance, but got int',)
2ace11abcfb5 updated for version 7.4.152
Bram Moolenaar <bram@vim.org>
parents: 5608
diff changeset
712 vim.options[u"\0"]:TypeError:('expected string without null bytes',)
2ace11abcfb5 updated for version 7.4.152
Bram Moolenaar <bram@vim.org>
parents: 5608
diff changeset
713 vim.options["\0"]:TypeError:('expected string without null bytes',)
2ace11abcfb5 updated for version 7.4.152
Bram Moolenaar <bram@vim.org>
parents: 5608
diff changeset
714 <<< Finished
2ace11abcfb5 updated for version 7.4.152
Bram Moolenaar <bram@vim.org>
parents: 5608
diff changeset
715 >> OptionsContains
2ace11abcfb5 updated for version 7.4.152
Bram Moolenaar <bram@vim.org>
parents: 5608
diff changeset
716 >>> Testing StringToChars using %s in vim.options
2ace11abcfb5 updated for version 7.4.152
Bram Moolenaar <bram@vim.org>
parents: 5608
diff changeset
717 1 in vim.options:TypeError:('expected str() or unicode() instance, but got int',)
2ace11abcfb5 updated for version 7.4.152
Bram Moolenaar <bram@vim.org>
parents: 5608
diff changeset
718 u"\0" in vim.options:TypeError:('expected string without null bytes',)
2ace11abcfb5 updated for version 7.4.152
Bram Moolenaar <bram@vim.org>
parents: 5608
diff changeset
719 "\0" in vim.options:TypeError:('expected string without null bytes',)
2ace11abcfb5 updated for version 7.4.152
Bram Moolenaar <bram@vim.org>
parents: 5608
diff changeset
720 <<< Finished
4637
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
721 > Dictionary
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
722 >> DictionaryConstructor
4976
4ed713442c51 updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents: 4972
diff changeset
723 vim.Dictionary("abcI"):ValueError:('expected sequence element of size 2, but got sequence of size 1',)
4637
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
724 >> DictionarySetattr
4853
b584d361e746 updated for version 7.3.1173
Bram Moolenaar <bram@vim.org>
parents: 4851
diff changeset
725 del d.locked:AttributeError:('cannot delete vim.Dictionary attributes',)
4982
39980afcf54a updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents: 4976
diff changeset
726 d.locked = FailingTrue():NotImplementedError:('bool',)
4853
b584d361e746 updated for version 7.3.1173
Bram Moolenaar <bram@vim.org>
parents: 4851
diff changeset
727 vim.vvars.locked = False:TypeError:('cannot modify fixed dictionary',)
4970
f5c822e5a0eb updated for version 7.3.1230
Bram Moolenaar <bram@vim.org>
parents: 4964
diff changeset
728 d.scope = True:AttributeError:('cannot set attribute scope',)
f5c822e5a0eb updated for version 7.3.1230
Bram Moolenaar <bram@vim.org>
parents: 4964
diff changeset
729 d.xxx = True:AttributeError:('cannot set attribute xxx',)
4637
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
730 >> _DictionaryItem
4853
b584d361e746 updated for version 7.3.1173
Bram Moolenaar <bram@vim.org>
parents: 4851
diff changeset
731 d.get("a", 2, 3):TypeError:('function takes at most 2 arguments (3 given)',)
4637
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
732 >>> Testing StringToChars using d.get(%s)
4970
f5c822e5a0eb updated for version 7.3.1230
Bram Moolenaar <bram@vim.org>
parents: 4964
diff changeset
733 d.get(1):TypeError:('expected str() or unicode() instance, but got int',)
4853
b584d361e746 updated for version 7.3.1173
Bram Moolenaar <bram@vim.org>
parents: 4851
diff changeset
734 d.get(u"\0"):TypeError:('expected string without null bytes',)
b584d361e746 updated for version 7.3.1173
Bram Moolenaar <bram@vim.org>
parents: 4851
diff changeset
735 d.get("\0"):TypeError:('expected string without null bytes',)
4637
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
736 <<< Finished
4853
b584d361e746 updated for version 7.3.1173
Bram Moolenaar <bram@vim.org>
parents: 4851
diff changeset
737 d.pop("a"):KeyError:('a',)
4970
f5c822e5a0eb updated for version 7.3.1230
Bram Moolenaar <bram@vim.org>
parents: 4964
diff changeset
738 dl.pop("a"):error:('dictionary is locked',)
5426
9cedb4dfd4c8 updated for version 7.4.063
Bram Moolenaar <bram@vim.org>
parents: 4984
diff changeset
739 >> DictionaryContains
9cedb4dfd4c8 updated for version 7.4.063
Bram Moolenaar <bram@vim.org>
parents: 4984
diff changeset
740 "" in d:ValueError:('empty keys are not allowed',)
9cedb4dfd4c8 updated for version 7.4.063
Bram Moolenaar <bram@vim.org>
parents: 4984
diff changeset
741 0 in d:TypeError:('expected str() or unicode() instance, but got int',)
4637
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
742 >> DictionaryIterNext
4853
b584d361e746 updated for version 7.3.1173
Bram Moolenaar <bram@vim.org>
parents: 4851
diff changeset
743 for i in ned: ned["a"] = 1:RuntimeError:('hashtab changed during iteration',)
4637
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
744 >> DictionaryAssItem
4970
f5c822e5a0eb updated for version 7.3.1230
Bram Moolenaar <bram@vim.org>
parents: 4964
diff changeset
745 dl["b"] = 1:error:('dictionary is locked',)
4637
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
746 >>> Testing StringToChars using d[%s] = 1
4970
f5c822e5a0eb updated for version 7.3.1230
Bram Moolenaar <bram@vim.org>
parents: 4964
diff changeset
747 d[1] = 1:TypeError:('expected str() or unicode() instance, but got int',)
4853
b584d361e746 updated for version 7.3.1173
Bram Moolenaar <bram@vim.org>
parents: 4851
diff changeset
748 d[u"\0"] = 1:TypeError:('expected string without null bytes',)
b584d361e746 updated for version 7.3.1173
Bram Moolenaar <bram@vim.org>
parents: 4851
diff changeset
749 d["\0"] = 1:TypeError:('expected string without null bytes',)
4637
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
750 <<< Finished
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
751 >>> Testing StringToChars using d["a"] = {%s : 1}
4970
f5c822e5a0eb updated for version 7.3.1230
Bram Moolenaar <bram@vim.org>
parents: 4964
diff changeset
752 d["a"] = {1 : 1}:TypeError:('expected str() or unicode() instance, but got int',)
4853
b584d361e746 updated for version 7.3.1173
Bram Moolenaar <bram@vim.org>
parents: 4851
diff changeset
753 d["a"] = {u"\0" : 1}:TypeError:('expected string without null bytes',)
b584d361e746 updated for version 7.3.1173
Bram Moolenaar <bram@vim.org>
parents: 4851
diff changeset
754 d["a"] = {"\0" : 1}:TypeError:('expected string without null bytes',)
4637
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
755 <<< Finished
4976
4ed713442c51 updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents: 4972
diff changeset
756 >>> Testing StringToChars using d["a"] = {"abcF" : {%s : 1}}
4ed713442c51 updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents: 4972
diff changeset
757 d["a"] = {"abcF" : {1 : 1}}:TypeError:('expected str() or unicode() instance, but got int',)
4ed713442c51 updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents: 4972
diff changeset
758 d["a"] = {"abcF" : {u"\0" : 1}}:TypeError:('expected string without null bytes',)
4ed713442c51 updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents: 4972
diff changeset
759 d["a"] = {"abcF" : {"\0" : 1}}:TypeError:('expected string without null bytes',)
4637
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
760 <<< Finished
4976
4ed713442c51 updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents: 4972
diff changeset
761 >>> Testing StringToChars using d["a"] = {"abcF" : Mapping({%s : 1})}
4ed713442c51 updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents: 4972
diff changeset
762 d["a"] = {"abcF" : Mapping({1 : 1})}:TypeError:('expected str() or unicode() instance, but got int',)
4ed713442c51 updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents: 4972
diff changeset
763 d["a"] = {"abcF" : Mapping({u"\0" : 1})}:TypeError:('expected string without null bytes',)
4ed713442c51 updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents: 4972
diff changeset
764 d["a"] = {"abcF" : Mapping({"\0" : 1})}:TypeError:('expected string without null bytes',)
4637
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
765 <<< Finished
4976
4ed713442c51 updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents: 4972
diff changeset
766 >>> Testing *Iter* using d["a"] = {"abcF" : %s}
4ed713442c51 updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents: 4972
diff changeset
767 d["a"] = {"abcF" : FailingIter()}:TypeError:('unable to convert FailingIter to vim structure',)
4982
39980afcf54a updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents: 4976
diff changeset
768 d["a"] = {"abcF" : FailingIterNext()}:NotImplementedError:('next',)
4637
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
769 <<< Finished
4976
4ed713442c51 updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents: 4972
diff changeset
770 >>> Testing ConvertFromPyObject using d["a"] = {"abcF" : %s}
12806
ef93c4415667 patch 8.0.1280: Python None cannot be converted to a Vim type
Christian Brabandt <cb@256bit.org>
parents: 10160
diff changeset
771 d["a"] = {"abcF" : None}:NOT FAILED
4976
4ed713442c51 updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents: 4972
diff changeset
772 d["a"] = {"abcF" : {"": 1}}:ValueError:('empty keys are not allowed',)
4ed713442c51 updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents: 4972
diff changeset
773 d["a"] = {"abcF" : {u"": 1}}:ValueError:('empty keys are not allowed',)
4982
39980afcf54a updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents: 4976
diff changeset
774 d["a"] = {"abcF" : FailingMapping()}:NotImplementedError:('keys',)
39980afcf54a updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents: 4976
diff changeset
775 d["a"] = {"abcF" : FailingMappingKey()}:NotImplementedError:('getitem:mappingkey',)
39980afcf54a updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents: 4976
diff changeset
776 d["a"] = {"abcF" : FailingNumber()}:TypeError:('long() argument must be a string or a number',)
4637
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
777 <<< Finished
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
778 >>> Testing StringToChars using d["a"] = Mapping({%s : 1})
4970
f5c822e5a0eb updated for version 7.3.1230
Bram Moolenaar <bram@vim.org>
parents: 4964
diff changeset
779 d["a"] = Mapping({1 : 1}):TypeError:('expected str() or unicode() instance, but got int',)
4853
b584d361e746 updated for version 7.3.1173
Bram Moolenaar <bram@vim.org>
parents: 4851
diff changeset
780 d["a"] = Mapping({u"\0" : 1}):TypeError:('expected string without null bytes',)
b584d361e746 updated for version 7.3.1173
Bram Moolenaar <bram@vim.org>
parents: 4851
diff changeset
781 d["a"] = Mapping({"\0" : 1}):TypeError:('expected string without null bytes',)
4637
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
782 <<< Finished
4976
4ed713442c51 updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents: 4972
diff changeset
783 >>> Testing StringToChars using d["a"] = Mapping({"abcG" : {%s : 1}})
4ed713442c51 updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents: 4972
diff changeset
784 d["a"] = Mapping({"abcG" : {1 : 1}}):TypeError:('expected str() or unicode() instance, but got int',)
4ed713442c51 updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents: 4972
diff changeset
785 d["a"] = Mapping({"abcG" : {u"\0" : 1}}):TypeError:('expected string without null bytes',)
4ed713442c51 updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents: 4972
diff changeset
786 d["a"] = Mapping({"abcG" : {"\0" : 1}}):TypeError:('expected string without null bytes',)
4637
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
787 <<< Finished
4976
4ed713442c51 updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents: 4972
diff changeset
788 >>> Testing StringToChars using d["a"] = Mapping({"abcG" : Mapping({%s : 1})})
4ed713442c51 updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents: 4972
diff changeset
789 d["a"] = Mapping({"abcG" : Mapping({1 : 1})}):TypeError:('expected str() or unicode() instance, but got int',)
4ed713442c51 updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents: 4972
diff changeset
790 d["a"] = Mapping({"abcG" : Mapping({u"\0" : 1})}):TypeError:('expected string without null bytes',)
4ed713442c51 updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents: 4972
diff changeset
791 d["a"] = Mapping({"abcG" : Mapping({"\0" : 1})}):TypeError:('expected string without null bytes',)
4637
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
792 <<< Finished
4976
4ed713442c51 updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents: 4972
diff changeset
793 >>> Testing *Iter* using d["a"] = Mapping({"abcG" : %s})
4ed713442c51 updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents: 4972
diff changeset
794 d["a"] = Mapping({"abcG" : FailingIter()}):TypeError:('unable to convert FailingIter to vim structure',)
4982
39980afcf54a updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents: 4976
diff changeset
795 d["a"] = Mapping({"abcG" : FailingIterNext()}):NotImplementedError:('next',)
4637
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
796 <<< Finished
4976
4ed713442c51 updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents: 4972
diff changeset
797 >>> Testing ConvertFromPyObject using d["a"] = Mapping({"abcG" : %s})
12806
ef93c4415667 patch 8.0.1280: Python None cannot be converted to a Vim type
Christian Brabandt <cb@256bit.org>
parents: 10160
diff changeset
798 d["a"] = Mapping({"abcG" : None}):NOT FAILED
4976
4ed713442c51 updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents: 4972
diff changeset
799 d["a"] = Mapping({"abcG" : {"": 1}}):ValueError:('empty keys are not allowed',)
4ed713442c51 updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents: 4972
diff changeset
800 d["a"] = Mapping({"abcG" : {u"": 1}}):ValueError:('empty keys are not allowed',)
4982
39980afcf54a updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents: 4976
diff changeset
801 d["a"] = Mapping({"abcG" : FailingMapping()}):NotImplementedError:('keys',)
39980afcf54a updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents: 4976
diff changeset
802 d["a"] = Mapping({"abcG" : FailingMappingKey()}):NotImplementedError:('getitem:mappingkey',)
39980afcf54a updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents: 4976
diff changeset
803 d["a"] = Mapping({"abcG" : FailingNumber()}):TypeError:('long() argument must be a string or a number',)
4637
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
804 <<< Finished
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
805 >>> Testing *Iter* using d["a"] = %s
4970
f5c822e5a0eb updated for version 7.3.1230
Bram Moolenaar <bram@vim.org>
parents: 4964
diff changeset
806 d["a"] = FailingIter():TypeError:('unable to convert FailingIter to vim structure',)
4982
39980afcf54a updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents: 4976
diff changeset
807 d["a"] = FailingIterNext():NotImplementedError:('next',)
4637
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
808 <<< Finished
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
809 >>> Testing ConvertFromPyObject using d["a"] = %s
12806
ef93c4415667 patch 8.0.1280: Python None cannot be converted to a Vim type
Christian Brabandt <cb@256bit.org>
parents: 10160
diff changeset
810 d["a"] = None:NOT FAILED
4853
b584d361e746 updated for version 7.3.1173
Bram Moolenaar <bram@vim.org>
parents: 4851
diff changeset
811 d["a"] = {"": 1}:ValueError:('empty keys are not allowed',)
b584d361e746 updated for version 7.3.1173
Bram Moolenaar <bram@vim.org>
parents: 4851
diff changeset
812 d["a"] = {u"": 1}:ValueError:('empty keys are not allowed',)
4982
39980afcf54a updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents: 4976
diff changeset
813 d["a"] = FailingMapping():NotImplementedError:('keys',)
39980afcf54a updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents: 4976
diff changeset
814 d["a"] = FailingMappingKey():NotImplementedError:('getitem:mappingkey',)
39980afcf54a updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents: 4976
diff changeset
815 d["a"] = FailingNumber():TypeError:('long() argument must be a string or a number',)
4637
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
816 <<< Finished
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
817 >> DictionaryUpdate
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
818 >>> kwargs
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
819 >>> iter
4982
39980afcf54a updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents: 4976
diff changeset
820 d.update(FailingMapping()):NotImplementedError:('keys',)
39980afcf54a updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents: 4976
diff changeset
821 d.update([FailingIterNext()]):NotImplementedError:('next',)
5608
ec02e1474bc2 updated for version 7.4.151
Bram Moolenaar <bram@vim.org>
parents: 5517
diff changeset
822 d.update([FailingIterNextN(1)]):NotImplementedError:('next N',)
4982
39980afcf54a updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents: 4976
diff changeset
823 >>> Testing *Iter* using d.update(%s)
39980afcf54a updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents: 4976
diff changeset
824 d.update(FailingIter()):NotImplementedError:('iter',)
39980afcf54a updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents: 4976
diff changeset
825 d.update(FailingIterNext()):NotImplementedError:('next',)
39980afcf54a updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents: 4976
diff changeset
826 <<< Finished
4637
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
827 >>> Testing StringToChars using d.update({%s : 1})
4970
f5c822e5a0eb updated for version 7.3.1230
Bram Moolenaar <bram@vim.org>
parents: 4964
diff changeset
828 d.update({1 : 1}):TypeError:('expected str() or unicode() instance, but got int',)
4853
b584d361e746 updated for version 7.3.1173
Bram Moolenaar <bram@vim.org>
parents: 4851
diff changeset
829 d.update({u"\0" : 1}):TypeError:('expected string without null bytes',)
b584d361e746 updated for version 7.3.1173
Bram Moolenaar <bram@vim.org>
parents: 4851
diff changeset
830 d.update({"\0" : 1}):TypeError:('expected string without null bytes',)
4637
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
831 <<< Finished
4976
4ed713442c51 updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents: 4972
diff changeset
832 >>> Testing StringToChars using d.update({"abcF" : {%s : 1}})
4ed713442c51 updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents: 4972
diff changeset
833 d.update({"abcF" : {1 : 1}}):TypeError:('expected str() or unicode() instance, but got int',)
4ed713442c51 updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents: 4972
diff changeset
834 d.update({"abcF" : {u"\0" : 1}}):TypeError:('expected string without null bytes',)
4ed713442c51 updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents: 4972
diff changeset
835 d.update({"abcF" : {"\0" : 1}}):TypeError:('expected string without null bytes',)
4637
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
836 <<< Finished
4976
4ed713442c51 updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents: 4972
diff changeset
837 >>> Testing StringToChars using d.update({"abcF" : Mapping({%s : 1})})
4ed713442c51 updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents: 4972
diff changeset
838 d.update({"abcF" : Mapping({1 : 1})}):TypeError:('expected str() or unicode() instance, but got int',)
4ed713442c51 updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents: 4972
diff changeset
839 d.update({"abcF" : Mapping({u"\0" : 1})}):TypeError:('expected string without null bytes',)
4ed713442c51 updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents: 4972
diff changeset
840 d.update({"abcF" : Mapping({"\0" : 1})}):TypeError:('expected string without null bytes',)
4637
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
841 <<< Finished
4976
4ed713442c51 updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents: 4972
diff changeset
842 >>> Testing *Iter* using d.update({"abcF" : %s})
4ed713442c51 updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents: 4972
diff changeset
843 d.update({"abcF" : FailingIter()}):TypeError:('unable to convert FailingIter to vim structure',)
4982
39980afcf54a updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents: 4976
diff changeset
844 d.update({"abcF" : FailingIterNext()}):NotImplementedError:('next',)
4637
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
845 <<< Finished
4976
4ed713442c51 updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents: 4972
diff changeset
846 >>> Testing ConvertFromPyObject using d.update({"abcF" : %s})
12806
ef93c4415667 patch 8.0.1280: Python None cannot be converted to a Vim type
Christian Brabandt <cb@256bit.org>
parents: 10160
diff changeset
847 d.update({"abcF" : None}):NOT FAILED
4976
4ed713442c51 updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents: 4972
diff changeset
848 d.update({"abcF" : {"": 1}}):ValueError:('empty keys are not allowed',)
4ed713442c51 updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents: 4972
diff changeset
849 d.update({"abcF" : {u"": 1}}):ValueError:('empty keys are not allowed',)
4982
39980afcf54a updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents: 4976
diff changeset
850 d.update({"abcF" : FailingMapping()}):NotImplementedError:('keys',)
39980afcf54a updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents: 4976
diff changeset
851 d.update({"abcF" : FailingMappingKey()}):NotImplementedError:('getitem:mappingkey',)
39980afcf54a updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents: 4976
diff changeset
852 d.update({"abcF" : FailingNumber()}):TypeError:('long() argument must be a string or a number',)
4637
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 d.update(Mapping({%s : 1}))
4970
f5c822e5a0eb updated for version 7.3.1230
Bram Moolenaar <bram@vim.org>
parents: 4964
diff changeset
855 d.update(Mapping({1 : 1})):TypeError:('expected str() or unicode() instance, but got int',)
4853
b584d361e746 updated for version 7.3.1173
Bram Moolenaar <bram@vim.org>
parents: 4851
diff changeset
856 d.update(Mapping({u"\0" : 1})):TypeError:('expected string without null bytes',)
b584d361e746 updated for version 7.3.1173
Bram Moolenaar <bram@vim.org>
parents: 4851
diff changeset
857 d.update(Mapping({"\0" : 1})):TypeError:('expected string without null bytes',)
4637
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
858 <<< Finished
4976
4ed713442c51 updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents: 4972
diff changeset
859 >>> Testing StringToChars using d.update(Mapping({"abcG" : {%s : 1}}))
4ed713442c51 updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents: 4972
diff changeset
860 d.update(Mapping({"abcG" : {1 : 1}})):TypeError:('expected str() or unicode() instance, but got int',)
4ed713442c51 updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents: 4972
diff changeset
861 d.update(Mapping({"abcG" : {u"\0" : 1}})):TypeError:('expected string without null bytes',)
4ed713442c51 updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents: 4972
diff changeset
862 d.update(Mapping({"abcG" : {"\0" : 1}})):TypeError:('expected string without null bytes',)
4637
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
863 <<< Finished
4976
4ed713442c51 updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents: 4972
diff changeset
864 >>> Testing StringToChars using d.update(Mapping({"abcG" : Mapping({%s : 1})}))
4ed713442c51 updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents: 4972
diff changeset
865 d.update(Mapping({"abcG" : Mapping({1 : 1})})):TypeError:('expected str() or unicode() instance, but got int',)
4ed713442c51 updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents: 4972
diff changeset
866 d.update(Mapping({"abcG" : Mapping({u"\0" : 1})})):TypeError:('expected string without null bytes',)
4ed713442c51 updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents: 4972
diff changeset
867 d.update(Mapping({"abcG" : Mapping({"\0" : 1})})):TypeError:('expected string without null bytes',)
4637
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
868 <<< Finished
4976
4ed713442c51 updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents: 4972
diff changeset
869 >>> Testing *Iter* using d.update(Mapping({"abcG" : %s}))
4ed713442c51 updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents: 4972
diff changeset
870 d.update(Mapping({"abcG" : FailingIter()})):TypeError:('unable to convert FailingIter to vim structure',)
4982
39980afcf54a updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents: 4976
diff changeset
871 d.update(Mapping({"abcG" : FailingIterNext()})):NotImplementedError:('next',)
4637
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
872 <<< Finished
4976
4ed713442c51 updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents: 4972
diff changeset
873 >>> Testing ConvertFromPyObject using d.update(Mapping({"abcG" : %s}))
12806
ef93c4415667 patch 8.0.1280: Python None cannot be converted to a Vim type
Christian Brabandt <cb@256bit.org>
parents: 10160
diff changeset
874 d.update(Mapping({"abcG" : None})):NOT FAILED
4976
4ed713442c51 updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents: 4972
diff changeset
875 d.update(Mapping({"abcG" : {"": 1}})):ValueError:('empty keys are not allowed',)
4ed713442c51 updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents: 4972
diff changeset
876 d.update(Mapping({"abcG" : {u"": 1}})):ValueError:('empty keys are not allowed',)
4982
39980afcf54a updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents: 4976
diff changeset
877 d.update(Mapping({"abcG" : FailingMapping()})):NotImplementedError:('keys',)
39980afcf54a updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents: 4976
diff changeset
878 d.update(Mapping({"abcG" : FailingMappingKey()})):NotImplementedError:('getitem:mappingkey',)
39980afcf54a updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents: 4976
diff changeset
879 d.update(Mapping({"abcG" : FailingNumber()})):TypeError:('long() argument must be a string or a number',)
4637
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
880 <<< Finished
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
881 >>> Testing *Iter* using d.update(%s)
4982
39980afcf54a updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents: 4976
diff changeset
882 d.update(FailingIter()):NotImplementedError:('iter',)
39980afcf54a updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents: 4976
diff changeset
883 d.update(FailingIterNext()):NotImplementedError:('next',)
4637
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
884 <<< Finished
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
885 >>> Testing ConvertFromPyObject using d.update(%s)
4853
b584d361e746 updated for version 7.3.1173
Bram Moolenaar <bram@vim.org>
parents: 4851
diff changeset
886 d.update(None):TypeError:("'NoneType' object is not iterable",)
b584d361e746 updated for version 7.3.1173
Bram Moolenaar <bram@vim.org>
parents: 4851
diff changeset
887 d.update({"": 1}):ValueError:('empty keys are not allowed',)
b584d361e746 updated for version 7.3.1173
Bram Moolenaar <bram@vim.org>
parents: 4851
diff changeset
888 d.update({u"": 1}):ValueError:('empty keys are not allowed',)
4982
39980afcf54a updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents: 4976
diff changeset
889 d.update(FailingMapping()):NotImplementedError:('keys',)
39980afcf54a updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents: 4976
diff changeset
890 d.update(FailingMappingKey()):NotImplementedError:('getitem:mappingkey',)
39980afcf54a updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents: 4976
diff changeset
891 d.update(FailingNumber()):TypeError:("'FailingNumber' object is not iterable",)
4637
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
892 <<< Finished
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
893 >>> Testing StringToChars using d.update(((%s, 0),))
4970
f5c822e5a0eb updated for version 7.3.1230
Bram Moolenaar <bram@vim.org>
parents: 4964
diff changeset
894 d.update(((1, 0),)):TypeError:('expected str() or unicode() instance, but got int',)
4853
b584d361e746 updated for version 7.3.1173
Bram Moolenaar <bram@vim.org>
parents: 4851
diff changeset
895 d.update(((u"\0", 0),)):TypeError:('expected string without null bytes',)
b584d361e746 updated for version 7.3.1173
Bram Moolenaar <bram@vim.org>
parents: 4851
diff changeset
896 d.update((("\0", 0),)):TypeError:('expected string without null bytes',)
4637
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
897 <<< Finished
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
898 >>> Testing StringToChars using d.update((("a", {%s : 1}),))
4970
f5c822e5a0eb updated for version 7.3.1230
Bram Moolenaar <bram@vim.org>
parents: 4964
diff changeset
899 d.update((("a", {1 : 1}),)):TypeError:('expected str() or unicode() instance, but got int',)
4853
b584d361e746 updated for version 7.3.1173
Bram Moolenaar <bram@vim.org>
parents: 4851
diff changeset
900 d.update((("a", {u"\0" : 1}),)):TypeError:('expected string without null bytes',)
b584d361e746 updated for version 7.3.1173
Bram Moolenaar <bram@vim.org>
parents: 4851
diff changeset
901 d.update((("a", {"\0" : 1}),)):TypeError:('expected string without null bytes',)
4637
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
902 <<< Finished
4976
4ed713442c51 updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents: 4972
diff changeset
903 >>> Testing StringToChars using d.update((("a", {"abcF" : {%s : 1}}),))
4ed713442c51 updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents: 4972
diff changeset
904 d.update((("a", {"abcF" : {1 : 1}}),)):TypeError:('expected str() or unicode() instance, but got int',)
4ed713442c51 updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents: 4972
diff changeset
905 d.update((("a", {"abcF" : {u"\0" : 1}}),)):TypeError:('expected string without null bytes',)
4ed713442c51 updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents: 4972
diff changeset
906 d.update((("a", {"abcF" : {"\0" : 1}}),)):TypeError:('expected string without null bytes',)
4637
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
907 <<< Finished
4976
4ed713442c51 updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents: 4972
diff changeset
908 >>> Testing StringToChars using d.update((("a", {"abcF" : Mapping({%s : 1})}),))
4ed713442c51 updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents: 4972
diff changeset
909 d.update((("a", {"abcF" : Mapping({1 : 1})}),)):TypeError:('expected str() or unicode() instance, but got int',)
4ed713442c51 updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents: 4972
diff changeset
910 d.update((("a", {"abcF" : Mapping({u"\0" : 1})}),)):TypeError:('expected string without null bytes',)
4ed713442c51 updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents: 4972
diff changeset
911 d.update((("a", {"abcF" : Mapping({"\0" : 1})}),)):TypeError:('expected string without null bytes',)
4637
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
912 <<< Finished
4976
4ed713442c51 updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents: 4972
diff changeset
913 >>> Testing *Iter* using d.update((("a", {"abcF" : %s}),))
4ed713442c51 updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents: 4972
diff changeset
914 d.update((("a", {"abcF" : FailingIter()}),)):TypeError:('unable to convert FailingIter to vim structure',)
4982
39980afcf54a updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents: 4976
diff changeset
915 d.update((("a", {"abcF" : FailingIterNext()}),)):NotImplementedError:('next',)
4637
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
916 <<< Finished
4976
4ed713442c51 updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents: 4972
diff changeset
917 >>> Testing ConvertFromPyObject using d.update((("a", {"abcF" : %s}),))
12806
ef93c4415667 patch 8.0.1280: Python None cannot be converted to a Vim type
Christian Brabandt <cb@256bit.org>
parents: 10160
diff changeset
918 d.update((("a", {"abcF" : None}),)):error:("failed to add key 'a' to dictionary",)
4976
4ed713442c51 updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents: 4972
diff changeset
919 d.update((("a", {"abcF" : {"": 1}}),)):ValueError:('empty keys are not allowed',)
4ed713442c51 updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents: 4972
diff changeset
920 d.update((("a", {"abcF" : {u"": 1}}),)):ValueError:('empty keys are not allowed',)
4982
39980afcf54a updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents: 4976
diff changeset
921 d.update((("a", {"abcF" : FailingMapping()}),)):NotImplementedError:('keys',)
39980afcf54a updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents: 4976
diff changeset
922 d.update((("a", {"abcF" : FailingMappingKey()}),)):NotImplementedError:('getitem:mappingkey',)
39980afcf54a updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents: 4976
diff changeset
923 d.update((("a", {"abcF" : FailingNumber()}),)):TypeError:('long() argument must be a string or a number',)
4637
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
924 <<< Finished
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
925 >>> Testing StringToChars using d.update((("a", Mapping({%s : 1})),))
4970
f5c822e5a0eb updated for version 7.3.1230
Bram Moolenaar <bram@vim.org>
parents: 4964
diff changeset
926 d.update((("a", Mapping({1 : 1})),)):TypeError:('expected str() or unicode() instance, but got int',)
4853
b584d361e746 updated for version 7.3.1173
Bram Moolenaar <bram@vim.org>
parents: 4851
diff changeset
927 d.update((("a", Mapping({u"\0" : 1})),)):TypeError:('expected string without null bytes',)
b584d361e746 updated for version 7.3.1173
Bram Moolenaar <bram@vim.org>
parents: 4851
diff changeset
928 d.update((("a", Mapping({"\0" : 1})),)):TypeError:('expected string without null bytes',)
4637
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
929 <<< Finished
4976
4ed713442c51 updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents: 4972
diff changeset
930 >>> Testing StringToChars using d.update((("a", Mapping({"abcG" : {%s : 1}})),))
4ed713442c51 updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents: 4972
diff changeset
931 d.update((("a", Mapping({"abcG" : {1 : 1}})),)):TypeError:('expected str() or unicode() instance, but got int',)
4ed713442c51 updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents: 4972
diff changeset
932 d.update((("a", Mapping({"abcG" : {u"\0" : 1}})),)):TypeError:('expected string without null bytes',)
4ed713442c51 updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents: 4972
diff changeset
933 d.update((("a", Mapping({"abcG" : {"\0" : 1}})),)):TypeError:('expected string without null bytes',)
4637
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
934 <<< Finished
4976
4ed713442c51 updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents: 4972
diff changeset
935 >>> Testing StringToChars using d.update((("a", Mapping({"abcG" : Mapping({%s : 1})})),))
4ed713442c51 updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents: 4972
diff changeset
936 d.update((("a", Mapping({"abcG" : Mapping({1 : 1})})),)):TypeError:('expected str() or unicode() instance, but got int',)
4ed713442c51 updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents: 4972
diff changeset
937 d.update((("a", Mapping({"abcG" : Mapping({u"\0" : 1})})),)):TypeError:('expected string without null bytes',)
4ed713442c51 updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents: 4972
diff changeset
938 d.update((("a", Mapping({"abcG" : Mapping({"\0" : 1})})),)):TypeError:('expected string without null bytes',)
4637
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
939 <<< Finished
4976
4ed713442c51 updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents: 4972
diff changeset
940 >>> Testing *Iter* using d.update((("a", Mapping({"abcG" : %s})),))
4ed713442c51 updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents: 4972
diff changeset
941 d.update((("a", Mapping({"abcG" : FailingIter()})),)):TypeError:('unable to convert FailingIter to vim structure',)
4982
39980afcf54a updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents: 4976
diff changeset
942 d.update((("a", Mapping({"abcG" : FailingIterNext()})),)):NotImplementedError:('next',)
4637
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
943 <<< Finished
4976
4ed713442c51 updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents: 4972
diff changeset
944 >>> Testing ConvertFromPyObject using d.update((("a", Mapping({"abcG" : %s})),))
12806
ef93c4415667 patch 8.0.1280: Python None cannot be converted to a Vim type
Christian Brabandt <cb@256bit.org>
parents: 10160
diff changeset
945 d.update((("a", Mapping({"abcG" : None})),)):error:("failed to add key 'a' to dictionary",)
4976
4ed713442c51 updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents: 4972
diff changeset
946 d.update((("a", Mapping({"abcG" : {"": 1}})),)):ValueError:('empty keys are not allowed',)
4ed713442c51 updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents: 4972
diff changeset
947 d.update((("a", Mapping({"abcG" : {u"": 1}})),)):ValueError:('empty keys are not allowed',)
4982
39980afcf54a updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents: 4976
diff changeset
948 d.update((("a", Mapping({"abcG" : FailingMapping()})),)):NotImplementedError:('keys',)
39980afcf54a updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents: 4976
diff changeset
949 d.update((("a", Mapping({"abcG" : FailingMappingKey()})),)):NotImplementedError:('getitem:mappingkey',)
39980afcf54a updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents: 4976
diff changeset
950 d.update((("a", Mapping({"abcG" : FailingNumber()})),)):TypeError:('long() argument must be a string or a number',)
4637
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
951 <<< Finished
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
952 >>> Testing *Iter* using d.update((("a", %s),))
4970
f5c822e5a0eb updated for version 7.3.1230
Bram Moolenaar <bram@vim.org>
parents: 4964
diff changeset
953 d.update((("a", FailingIter()),)):TypeError:('unable to convert FailingIter to vim structure',)
4982
39980afcf54a updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents: 4976
diff changeset
954 d.update((("a", FailingIterNext()),)):NotImplementedError:('next',)
4637
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
955 <<< Finished
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
956 >>> Testing ConvertFromPyObject using d.update((("a", %s),))
12806
ef93c4415667 patch 8.0.1280: Python None cannot be converted to a Vim type
Christian Brabandt <cb@256bit.org>
parents: 10160
diff changeset
957 d.update((("a", None),)):error:("failed to add key 'a' to dictionary",)
4853
b584d361e746 updated for version 7.3.1173
Bram Moolenaar <bram@vim.org>
parents: 4851
diff changeset
958 d.update((("a", {"": 1}),)):ValueError:('empty keys are not allowed',)
b584d361e746 updated for version 7.3.1173
Bram Moolenaar <bram@vim.org>
parents: 4851
diff changeset
959 d.update((("a", {u"": 1}),)):ValueError:('empty keys are not allowed',)
4982
39980afcf54a updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents: 4976
diff changeset
960 d.update((("a", FailingMapping()),)):NotImplementedError:('keys',)
39980afcf54a updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents: 4976
diff changeset
961 d.update((("a", FailingMappingKey()),)):NotImplementedError:('getitem:mappingkey',)
39980afcf54a updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents: 4976
diff changeset
962 d.update((("a", FailingNumber()),)):TypeError:('long() argument must be a string or a number',)
4637
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 >> DictionaryPopItem
4853
b584d361e746 updated for version 7.3.1173
Bram Moolenaar <bram@vim.org>
parents: 4851
diff changeset
965 d.popitem(1, 2):TypeError:('popitem() takes no arguments (2 given)',)
4637
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
966 >> DictionaryHasKey
4964
5cee875f3096 updated for version 7.3.1227
Bram Moolenaar <bram@vim.org>
parents: 4962
diff changeset
967 d.has_key():TypeError:('has_key() takes exactly one argument (0 given)',)
4637
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
968 > List
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
969 >> ListConstructor
4853
b584d361e746 updated for version 7.3.1173
Bram Moolenaar <bram@vim.org>
parents: 4851
diff changeset
970 vim.List(1, 2):TypeError:('function takes at most 1 argument (2 given)',)
b584d361e746 updated for version 7.3.1173
Bram Moolenaar <bram@vim.org>
parents: 4851
diff changeset
971 vim.List(a=1):TypeError:('list constructor does not accept keyword arguments',)
4982
39980afcf54a updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents: 4976
diff changeset
972 >>> Testing *Iter* using vim.List(%s)
39980afcf54a updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents: 4976
diff changeset
973 vim.List(FailingIter()):NotImplementedError:('iter',)
39980afcf54a updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents: 4976
diff changeset
974 vim.List(FailingIterNext()):NotImplementedError:('next',)
39980afcf54a updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents: 4976
diff changeset
975 <<< Finished
4637
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
976 >>> Testing StringToChars using vim.List([{%s : 1}])
4970
f5c822e5a0eb updated for version 7.3.1230
Bram Moolenaar <bram@vim.org>
parents: 4964
diff changeset
977 vim.List([{1 : 1}]):TypeError:('expected str() or unicode() instance, but got int',)
4853
b584d361e746 updated for version 7.3.1173
Bram Moolenaar <bram@vim.org>
parents: 4851
diff changeset
978 vim.List([{u"\0" : 1}]):TypeError:('expected string without null bytes',)
b584d361e746 updated for version 7.3.1173
Bram Moolenaar <bram@vim.org>
parents: 4851
diff changeset
979 vim.List([{"\0" : 1}]):TypeError:('expected string without null bytes',)
4637
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
980 <<< Finished
4976
4ed713442c51 updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents: 4972
diff changeset
981 >>> Testing StringToChars using vim.List([{"abcF" : {%s : 1}}])
4ed713442c51 updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents: 4972
diff changeset
982 vim.List([{"abcF" : {1 : 1}}]):TypeError:('expected str() or unicode() instance, but got int',)
4ed713442c51 updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents: 4972
diff changeset
983 vim.List([{"abcF" : {u"\0" : 1}}]):TypeError:('expected string without null bytes',)
4ed713442c51 updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents: 4972
diff changeset
984 vim.List([{"abcF" : {"\0" : 1}}]):TypeError:('expected string without null bytes',)
4637
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
985 <<< Finished
4976
4ed713442c51 updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents: 4972
diff changeset
986 >>> Testing StringToChars using vim.List([{"abcF" : Mapping({%s : 1})}])
4ed713442c51 updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents: 4972
diff changeset
987 vim.List([{"abcF" : Mapping({1 : 1})}]):TypeError:('expected str() or unicode() instance, but got int',)
4ed713442c51 updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents: 4972
diff changeset
988 vim.List([{"abcF" : Mapping({u"\0" : 1})}]):TypeError:('expected string without null bytes',)
4ed713442c51 updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents: 4972
diff changeset
989 vim.List([{"abcF" : Mapping({"\0" : 1})}]):TypeError:('expected string without null bytes',)
4637
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
990 <<< Finished
4976
4ed713442c51 updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents: 4972
diff changeset
991 >>> Testing *Iter* using vim.List([{"abcF" : %s}])
4ed713442c51 updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents: 4972
diff changeset
992 vim.List([{"abcF" : FailingIter()}]):TypeError:('unable to convert FailingIter to vim structure',)
4982
39980afcf54a updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents: 4976
diff changeset
993 vim.List([{"abcF" : FailingIterNext()}]):NotImplementedError:('next',)
4637
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
994 <<< Finished
4976
4ed713442c51 updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents: 4972
diff changeset
995 >>> Testing ConvertFromPyObject using vim.List([{"abcF" : %s}])
12806
ef93c4415667 patch 8.0.1280: Python None cannot be converted to a Vim type
Christian Brabandt <cb@256bit.org>
parents: 10160
diff changeset
996 vim.List([{"abcF" : None}]):NOT FAILED
4976
4ed713442c51 updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents: 4972
diff changeset
997 vim.List([{"abcF" : {"": 1}}]):ValueError:('empty keys are not allowed',)
4ed713442c51 updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents: 4972
diff changeset
998 vim.List([{"abcF" : {u"": 1}}]):ValueError:('empty keys are not allowed',)
4982
39980afcf54a updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents: 4976
diff changeset
999 vim.List([{"abcF" : FailingMapping()}]):NotImplementedError:('keys',)
39980afcf54a updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents: 4976
diff changeset
1000 vim.List([{"abcF" : FailingMappingKey()}]):NotImplementedError:('getitem:mappingkey',)
39980afcf54a updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents: 4976
diff changeset
1001 vim.List([{"abcF" : FailingNumber()}]):TypeError:('long() argument must be a string or a number',)
4637
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 StringToChars using vim.List([Mapping({%s : 1})])
4970
f5c822e5a0eb updated for version 7.3.1230
Bram Moolenaar <bram@vim.org>
parents: 4964
diff changeset
1004 vim.List([Mapping({1 : 1})]):TypeError:('expected str() or unicode() instance, but got int',)
4853
b584d361e746 updated for version 7.3.1173
Bram Moolenaar <bram@vim.org>
parents: 4851
diff changeset
1005 vim.List([Mapping({u"\0" : 1})]):TypeError:('expected string without null bytes',)
b584d361e746 updated for version 7.3.1173
Bram Moolenaar <bram@vim.org>
parents: 4851
diff changeset
1006 vim.List([Mapping({"\0" : 1})]):TypeError:('expected string without null bytes',)
4637
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
1007 <<< Finished
4976
4ed713442c51 updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents: 4972
diff changeset
1008 >>> Testing StringToChars using vim.List([Mapping({"abcG" : {%s : 1}})])
4ed713442c51 updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents: 4972
diff changeset
1009 vim.List([Mapping({"abcG" : {1 : 1}})]):TypeError:('expected str() or unicode() instance, but got int',)
4ed713442c51 updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents: 4972
diff changeset
1010 vim.List([Mapping({"abcG" : {u"\0" : 1}})]):TypeError:('expected string without null bytes',)
4ed713442c51 updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents: 4972
diff changeset
1011 vim.List([Mapping({"abcG" : {"\0" : 1}})]):TypeError:('expected string without null bytes',)
4637
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
1012 <<< Finished
4976
4ed713442c51 updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents: 4972
diff changeset
1013 >>> Testing StringToChars using vim.List([Mapping({"abcG" : Mapping({%s : 1})})])
4ed713442c51 updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents: 4972
diff changeset
1014 vim.List([Mapping({"abcG" : Mapping({1 : 1})})]):TypeError:('expected str() or unicode() instance, but got int',)
4ed713442c51 updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents: 4972
diff changeset
1015 vim.List([Mapping({"abcG" : Mapping({u"\0" : 1})})]):TypeError:('expected string without null bytes',)
4ed713442c51 updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents: 4972
diff changeset
1016 vim.List([Mapping({"abcG" : Mapping({"\0" : 1})})]):TypeError:('expected string without null bytes',)
4637
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
1017 <<< Finished
4976
4ed713442c51 updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents: 4972
diff changeset
1018 >>> Testing *Iter* using vim.List([Mapping({"abcG" : %s})])
4ed713442c51 updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents: 4972
diff changeset
1019 vim.List([Mapping({"abcG" : FailingIter()})]):TypeError:('unable to convert FailingIter to vim structure',)
4982
39980afcf54a updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents: 4976
diff changeset
1020 vim.List([Mapping({"abcG" : FailingIterNext()})]):NotImplementedError:('next',)
4637
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
1021 <<< Finished
4976
4ed713442c51 updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents: 4972
diff changeset
1022 >>> Testing ConvertFromPyObject using vim.List([Mapping({"abcG" : %s})])
12806
ef93c4415667 patch 8.0.1280: Python None cannot be converted to a Vim type
Christian Brabandt <cb@256bit.org>
parents: 10160
diff changeset
1023 vim.List([Mapping({"abcG" : None})]):NOT FAILED
4976
4ed713442c51 updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents: 4972
diff changeset
1024 vim.List([Mapping({"abcG" : {"": 1}})]):ValueError:('empty keys are not allowed',)
4ed713442c51 updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents: 4972
diff changeset
1025 vim.List([Mapping({"abcG" : {u"": 1}})]):ValueError:('empty keys are not allowed',)
4982
39980afcf54a updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents: 4976
diff changeset
1026 vim.List([Mapping({"abcG" : FailingMapping()})]):NotImplementedError:('keys',)
39980afcf54a updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents: 4976
diff changeset
1027 vim.List([Mapping({"abcG" : FailingMappingKey()})]):NotImplementedError:('getitem:mappingkey',)
39980afcf54a updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents: 4976
diff changeset
1028 vim.List([Mapping({"abcG" : FailingNumber()})]):TypeError:('long() argument must be a string or a number',)
4637
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
1029 <<< Finished
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
1030 >>> Testing *Iter* using vim.List([%s])
4970
f5c822e5a0eb updated for version 7.3.1230
Bram Moolenaar <bram@vim.org>
parents: 4964
diff changeset
1031 vim.List([FailingIter()]):TypeError:('unable to convert FailingIter to vim structure',)
4982
39980afcf54a updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents: 4976
diff changeset
1032 vim.List([FailingIterNext()]):NotImplementedError:('next',)
4637
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
1033 <<< Finished
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
1034 >>> Testing ConvertFromPyObject using vim.List([%s])
12806
ef93c4415667 patch 8.0.1280: Python None cannot be converted to a Vim type
Christian Brabandt <cb@256bit.org>
parents: 10160
diff changeset
1035 vim.List([None]):NOT FAILED
4853
b584d361e746 updated for version 7.3.1173
Bram Moolenaar <bram@vim.org>
parents: 4851
diff changeset
1036 vim.List([{"": 1}]):ValueError:('empty keys are not allowed',)
b584d361e746 updated for version 7.3.1173
Bram Moolenaar <bram@vim.org>
parents: 4851
diff changeset
1037 vim.List([{u"": 1}]):ValueError:('empty keys are not allowed',)
4982
39980afcf54a updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents: 4976
diff changeset
1038 vim.List([FailingMapping()]):NotImplementedError:('keys',)
39980afcf54a updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents: 4976
diff changeset
1039 vim.List([FailingMappingKey()]):NotImplementedError:('getitem:mappingkey',)
39980afcf54a updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents: 4976
diff changeset
1040 vim.List([FailingNumber()]):TypeError:('long() argument must be a string or a number',)
4637
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
1041 <<< Finished
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
1042 >> ListItem
4853
b584d361e746 updated for version 7.3.1173
Bram Moolenaar <bram@vim.org>
parents: 4851
diff changeset
1043 l[1000]:IndexError:('list index out of range',)
4637
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
1044 >> ListAssItem
4853
b584d361e746 updated for version 7.3.1173
Bram Moolenaar <bram@vim.org>
parents: 4851
diff changeset
1045 ll[1] = 2:error:('list is locked',)
b584d361e746 updated for version 7.3.1173
Bram Moolenaar <bram@vim.org>
parents: 4851
diff changeset
1046 l[1000] = 3:IndexError:('list index out of range',)
4637
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
1047 >> ListAssSlice
4976
4ed713442c51 updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents: 4972
diff changeset
1048 ll[1:100] = "abcJ":error:('list is locked',)
4982
39980afcf54a updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents: 4976
diff changeset
1049 >>> Testing *Iter* using l[:] = %s
39980afcf54a updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents: 4976
diff changeset
1050 l[:] = FailingIter():NotImplementedError:('iter',)
39980afcf54a updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents: 4976
diff changeset
1051 l[:] = FailingIterNext():NotImplementedError:('next',)
39980afcf54a updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents: 4976
diff changeset
1052 <<< Finished
5700
c2e88a40d530 updated for version 7.4.195
Bram Moolenaar <bram@vim.org>
parents: 5610
diff changeset
1053 nel[1:10:2] = "abcK":ValueError:('attempt to assign sequence of size greater than 2 to extended slice',)
5608
ec02e1474bc2 updated for version 7.4.151
Bram Moolenaar <bram@vim.org>
parents: 5517
diff changeset
1054 ('a', 'b', 'c', 'O')
ec02e1474bc2 updated for version 7.4.151
Bram Moolenaar <bram@vim.org>
parents: 5517
diff changeset
1055 nel[1:10:2] = "a":ValueError:('attempt to assign sequence of size 1 to extended slice of size 2',)
ec02e1474bc2 updated for version 7.4.151
Bram Moolenaar <bram@vim.org>
parents: 5517
diff changeset
1056 ('a', 'b', 'c', 'O')
5700
c2e88a40d530 updated for version 7.4.195
Bram Moolenaar <bram@vim.org>
parents: 5610
diff changeset
1057 nel[1:1:-1] = "a":ValueError:('attempt to assign sequence of size greater than 0 to extended slice',)
5608
ec02e1474bc2 updated for version 7.4.151
Bram Moolenaar <bram@vim.org>
parents: 5517
diff changeset
1058 ('a', 'b', 'c', 'O')
ec02e1474bc2 updated for version 7.4.151
Bram Moolenaar <bram@vim.org>
parents: 5517
diff changeset
1059 nel[:] = FailingIterNextN(2):NotImplementedError:('next N',)
ec02e1474bc2 updated for version 7.4.151
Bram Moolenaar <bram@vim.org>
parents: 5517
diff changeset
1060 ('a', 'b', 'c', 'O')
4637
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
1061 >>> Testing StringToChars using l[:] = [{%s : 1}]
4970
f5c822e5a0eb updated for version 7.3.1230
Bram Moolenaar <bram@vim.org>
parents: 4964
diff changeset
1062 l[:] = [{1 : 1}]:TypeError:('expected str() or unicode() instance, but got int',)
4853
b584d361e746 updated for version 7.3.1173
Bram Moolenaar <bram@vim.org>
parents: 4851
diff changeset
1063 l[:] = [{u"\0" : 1}]:TypeError:('expected string without null bytes',)
b584d361e746 updated for version 7.3.1173
Bram Moolenaar <bram@vim.org>
parents: 4851
diff changeset
1064 l[:] = [{"\0" : 1}]:TypeError:('expected string without null bytes',)
4637
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
1065 <<< Finished
4976
4ed713442c51 updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents: 4972
diff changeset
1066 >>> Testing StringToChars using l[:] = [{"abcF" : {%s : 1}}]
4ed713442c51 updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents: 4972
diff changeset
1067 l[:] = [{"abcF" : {1 : 1}}]:TypeError:('expected str() or unicode() instance, but got int',)
4ed713442c51 updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents: 4972
diff changeset
1068 l[:] = [{"abcF" : {u"\0" : 1}}]:TypeError:('expected string without null bytes',)
4ed713442c51 updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents: 4972
diff changeset
1069 l[:] = [{"abcF" : {"\0" : 1}}]:TypeError:('expected string without null bytes',)
4637
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
1070 <<< Finished
4976
4ed713442c51 updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents: 4972
diff changeset
1071 >>> Testing StringToChars using l[:] = [{"abcF" : Mapping({%s : 1})}]
4ed713442c51 updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents: 4972
diff changeset
1072 l[:] = [{"abcF" : Mapping({1 : 1})}]:TypeError:('expected str() or unicode() instance, but got int',)
4ed713442c51 updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents: 4972
diff changeset
1073 l[:] = [{"abcF" : Mapping({u"\0" : 1})}]:TypeError:('expected string without null bytes',)
4ed713442c51 updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents: 4972
diff changeset
1074 l[:] = [{"abcF" : Mapping({"\0" : 1})}]:TypeError:('expected string without null bytes',)
4637
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
1075 <<< Finished
4976
4ed713442c51 updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents: 4972
diff changeset
1076 >>> Testing *Iter* using l[:] = [{"abcF" : %s}]
4ed713442c51 updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents: 4972
diff changeset
1077 l[:] = [{"abcF" : FailingIter()}]:TypeError:('unable to convert FailingIter to vim structure',)
4982
39980afcf54a updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents: 4976
diff changeset
1078 l[:] = [{"abcF" : FailingIterNext()}]:NotImplementedError:('next',)
4637
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
1079 <<< Finished
4976
4ed713442c51 updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents: 4972
diff changeset
1080 >>> Testing ConvertFromPyObject using l[:] = [{"abcF" : %s}]
12806
ef93c4415667 patch 8.0.1280: Python None cannot be converted to a Vim type
Christian Brabandt <cb@256bit.org>
parents: 10160
diff changeset
1081 l[:] = [{"abcF" : None}]:NOT FAILED
4976
4ed713442c51 updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents: 4972
diff changeset
1082 l[:] = [{"abcF" : {"": 1}}]:ValueError:('empty keys are not allowed',)
4ed713442c51 updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents: 4972
diff changeset
1083 l[:] = [{"abcF" : {u"": 1}}]:ValueError:('empty keys are not allowed',)
4982
39980afcf54a updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents: 4976
diff changeset
1084 l[:] = [{"abcF" : FailingMapping()}]:NotImplementedError:('keys',)
39980afcf54a updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents: 4976
diff changeset
1085 l[:] = [{"abcF" : FailingMappingKey()}]:NotImplementedError:('getitem:mappingkey',)
39980afcf54a updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents: 4976
diff changeset
1086 l[:] = [{"abcF" : FailingNumber()}]:TypeError:('long() argument must be a string or a number',)
4637
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
1087 <<< Finished
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
1088 >>> Testing StringToChars using l[:] = [Mapping({%s : 1})]
4970
f5c822e5a0eb updated for version 7.3.1230
Bram Moolenaar <bram@vim.org>
parents: 4964
diff changeset
1089 l[:] = [Mapping({1 : 1})]:TypeError:('expected str() or unicode() instance, but got int',)
4853
b584d361e746 updated for version 7.3.1173
Bram Moolenaar <bram@vim.org>
parents: 4851
diff changeset
1090 l[:] = [Mapping({u"\0" : 1})]:TypeError:('expected string without null bytes',)
b584d361e746 updated for version 7.3.1173
Bram Moolenaar <bram@vim.org>
parents: 4851
diff changeset
1091 l[:] = [Mapping({"\0" : 1})]:TypeError:('expected string without null bytes',)
4637
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
1092 <<< Finished
4976
4ed713442c51 updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents: 4972
diff changeset
1093 >>> Testing StringToChars using l[:] = [Mapping({"abcG" : {%s : 1}})]
4ed713442c51 updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents: 4972
diff changeset
1094 l[:] = [Mapping({"abcG" : {1 : 1}})]:TypeError:('expected str() or unicode() instance, but got int',)
4ed713442c51 updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents: 4972
diff changeset
1095 l[:] = [Mapping({"abcG" : {u"\0" : 1}})]:TypeError:('expected string without null bytes',)
4ed713442c51 updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents: 4972
diff changeset
1096 l[:] = [Mapping({"abcG" : {"\0" : 1}})]:TypeError:('expected string without null bytes',)
4637
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
1097 <<< Finished
4976
4ed713442c51 updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents: 4972
diff changeset
1098 >>> Testing StringToChars using l[:] = [Mapping({"abcG" : Mapping({%s : 1})})]
4ed713442c51 updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents: 4972
diff changeset
1099 l[:] = [Mapping({"abcG" : Mapping({1 : 1})})]:TypeError:('expected str() or unicode() instance, but got int',)
4ed713442c51 updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents: 4972
diff changeset
1100 l[:] = [Mapping({"abcG" : Mapping({u"\0" : 1})})]:TypeError:('expected string without null bytes',)
4ed713442c51 updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents: 4972
diff changeset
1101 l[:] = [Mapping({"abcG" : Mapping({"\0" : 1})})]:TypeError:('expected string without null bytes',)
4637
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
1102 <<< Finished
4976
4ed713442c51 updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents: 4972
diff changeset
1103 >>> Testing *Iter* using l[:] = [Mapping({"abcG" : %s})]
4ed713442c51 updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents: 4972
diff changeset
1104 l[:] = [Mapping({"abcG" : FailingIter()})]:TypeError:('unable to convert FailingIter to vim structure',)
4982
39980afcf54a updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents: 4976
diff changeset
1105 l[:] = [Mapping({"abcG" : FailingIterNext()})]:NotImplementedError:('next',)
4637
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
1106 <<< Finished
4976
4ed713442c51 updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents: 4972
diff changeset
1107 >>> Testing ConvertFromPyObject using l[:] = [Mapping({"abcG" : %s})]
12806
ef93c4415667 patch 8.0.1280: Python None cannot be converted to a Vim type
Christian Brabandt <cb@256bit.org>
parents: 10160
diff changeset
1108 l[:] = [Mapping({"abcG" : None})]:NOT FAILED
4976
4ed713442c51 updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents: 4972
diff changeset
1109 l[:] = [Mapping({"abcG" : {"": 1}})]:ValueError:('empty keys are not allowed',)
4ed713442c51 updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents: 4972
diff changeset
1110 l[:] = [Mapping({"abcG" : {u"": 1}})]:ValueError:('empty keys are not allowed',)
4982
39980afcf54a updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents: 4976
diff changeset
1111 l[:] = [Mapping({"abcG" : FailingMapping()})]:NotImplementedError:('keys',)
39980afcf54a updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents: 4976
diff changeset
1112 l[:] = [Mapping({"abcG" : FailingMappingKey()})]:NotImplementedError:('getitem:mappingkey',)
39980afcf54a updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents: 4976
diff changeset
1113 l[:] = [Mapping({"abcG" : FailingNumber()})]:TypeError:('long() argument must be a string or a number',)
4637
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
1114 <<< Finished
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
1115 >>> Testing *Iter* using l[:] = [%s]
4970
f5c822e5a0eb updated for version 7.3.1230
Bram Moolenaar <bram@vim.org>
parents: 4964
diff changeset
1116 l[:] = [FailingIter()]:TypeError:('unable to convert FailingIter to vim structure',)
4982
39980afcf54a updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents: 4976
diff changeset
1117 l[:] = [FailingIterNext()]:NotImplementedError:('next',)
4637
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
1118 <<< Finished
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
1119 >>> Testing ConvertFromPyObject using l[:] = [%s]
12806
ef93c4415667 patch 8.0.1280: Python None cannot be converted to a Vim type
Christian Brabandt <cb@256bit.org>
parents: 10160
diff changeset
1120 l[:] = [None]:NOT FAILED
4853
b584d361e746 updated for version 7.3.1173
Bram Moolenaar <bram@vim.org>
parents: 4851
diff changeset
1121 l[:] = [{"": 1}]:ValueError:('empty keys are not allowed',)
b584d361e746 updated for version 7.3.1173
Bram Moolenaar <bram@vim.org>
parents: 4851
diff changeset
1122 l[:] = [{u"": 1}]:ValueError:('empty keys are not allowed',)
4982
39980afcf54a updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents: 4976
diff changeset
1123 l[:] = [FailingMapping()]:NotImplementedError:('keys',)
39980afcf54a updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents: 4976
diff changeset
1124 l[:] = [FailingMappingKey()]:NotImplementedError:('getitem:mappingkey',)
39980afcf54a updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents: 4976
diff changeset
1125 l[:] = [FailingNumber()]:TypeError:('long() argument must be a string or a number',)
4637
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
1126 <<< Finished
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
1127 >> ListConcatInPlace
4982
39980afcf54a updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents: 4976
diff changeset
1128 >>> Testing *Iter* using l.extend(%s)
39980afcf54a updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents: 4976
diff changeset
1129 l.extend(FailingIter()):NotImplementedError:('iter',)
39980afcf54a updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents: 4976
diff changeset
1130 l.extend(FailingIterNext()):NotImplementedError:('next',)
39980afcf54a updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents: 4976
diff changeset
1131 <<< Finished
4637
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
1132 >>> Testing StringToChars using l.extend([{%s : 1}])
4970
f5c822e5a0eb updated for version 7.3.1230
Bram Moolenaar <bram@vim.org>
parents: 4964
diff changeset
1133 l.extend([{1 : 1}]):TypeError:('expected str() or unicode() instance, but got int',)
4853
b584d361e746 updated for version 7.3.1173
Bram Moolenaar <bram@vim.org>
parents: 4851
diff changeset
1134 l.extend([{u"\0" : 1}]):TypeError:('expected string without null bytes',)
b584d361e746 updated for version 7.3.1173
Bram Moolenaar <bram@vim.org>
parents: 4851
diff changeset
1135 l.extend([{"\0" : 1}]):TypeError:('expected string without null bytes',)
4637
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
1136 <<< Finished
4976
4ed713442c51 updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents: 4972
diff changeset
1137 >>> Testing StringToChars using l.extend([{"abcF" : {%s : 1}}])
4ed713442c51 updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents: 4972
diff changeset
1138 l.extend([{"abcF" : {1 : 1}}]):TypeError:('expected str() or unicode() instance, but got int',)
4ed713442c51 updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents: 4972
diff changeset
1139 l.extend([{"abcF" : {u"\0" : 1}}]):TypeError:('expected string without null bytes',)
4ed713442c51 updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents: 4972
diff changeset
1140 l.extend([{"abcF" : {"\0" : 1}}]):TypeError:('expected string without null bytes',)
4637
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
1141 <<< Finished
4976
4ed713442c51 updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents: 4972
diff changeset
1142 >>> Testing StringToChars using l.extend([{"abcF" : Mapping({%s : 1})}])
4ed713442c51 updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents: 4972
diff changeset
1143 l.extend([{"abcF" : Mapping({1 : 1})}]):TypeError:('expected str() or unicode() instance, but got int',)
4ed713442c51 updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents: 4972
diff changeset
1144 l.extend([{"abcF" : Mapping({u"\0" : 1})}]):TypeError:('expected string without null bytes',)
4ed713442c51 updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents: 4972
diff changeset
1145 l.extend([{"abcF" : Mapping({"\0" : 1})}]):TypeError:('expected string without null bytes',)
4637
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
1146 <<< Finished
4976
4ed713442c51 updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents: 4972
diff changeset
1147 >>> Testing *Iter* using l.extend([{"abcF" : %s}])
4ed713442c51 updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents: 4972
diff changeset
1148 l.extend([{"abcF" : FailingIter()}]):TypeError:('unable to convert FailingIter to vim structure',)
4982
39980afcf54a updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents: 4976
diff changeset
1149 l.extend([{"abcF" : FailingIterNext()}]):NotImplementedError:('next',)
4637
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
1150 <<< Finished
4976
4ed713442c51 updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents: 4972
diff changeset
1151 >>> Testing ConvertFromPyObject using l.extend([{"abcF" : %s}])
12806
ef93c4415667 patch 8.0.1280: Python None cannot be converted to a Vim type
Christian Brabandt <cb@256bit.org>
parents: 10160
diff changeset
1152 l.extend([{"abcF" : None}]):NOT FAILED
4976
4ed713442c51 updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents: 4972
diff changeset
1153 l.extend([{"abcF" : {"": 1}}]):ValueError:('empty keys are not allowed',)
4ed713442c51 updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents: 4972
diff changeset
1154 l.extend([{"abcF" : {u"": 1}}]):ValueError:('empty keys are not allowed',)
4982
39980afcf54a updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents: 4976
diff changeset
1155 l.extend([{"abcF" : FailingMapping()}]):NotImplementedError:('keys',)
39980afcf54a updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents: 4976
diff changeset
1156 l.extend([{"abcF" : FailingMappingKey()}]):NotImplementedError:('getitem:mappingkey',)
39980afcf54a updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents: 4976
diff changeset
1157 l.extend([{"abcF" : FailingNumber()}]):TypeError:('long() argument must be a string or a number',)
4637
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
1158 <<< Finished
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
1159 >>> Testing StringToChars using l.extend([Mapping({%s : 1})])
4970
f5c822e5a0eb updated for version 7.3.1230
Bram Moolenaar <bram@vim.org>
parents: 4964
diff changeset
1160 l.extend([Mapping({1 : 1})]):TypeError:('expected str() or unicode() instance, but got int',)
4853
b584d361e746 updated for version 7.3.1173
Bram Moolenaar <bram@vim.org>
parents: 4851
diff changeset
1161 l.extend([Mapping({u"\0" : 1})]):TypeError:('expected string without null bytes',)
b584d361e746 updated for version 7.3.1173
Bram Moolenaar <bram@vim.org>
parents: 4851
diff changeset
1162 l.extend([Mapping({"\0" : 1})]):TypeError:('expected string without null bytes',)
4637
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
1163 <<< Finished
4976
4ed713442c51 updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents: 4972
diff changeset
1164 >>> Testing StringToChars using l.extend([Mapping({"abcG" : {%s : 1}})])
4ed713442c51 updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents: 4972
diff changeset
1165 l.extend([Mapping({"abcG" : {1 : 1}})]):TypeError:('expected str() or unicode() instance, but got int',)
4ed713442c51 updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents: 4972
diff changeset
1166 l.extend([Mapping({"abcG" : {u"\0" : 1}})]):TypeError:('expected string without null bytes',)
4ed713442c51 updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents: 4972
diff changeset
1167 l.extend([Mapping({"abcG" : {"\0" : 1}})]):TypeError:('expected string without null bytes',)
4637
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
1168 <<< Finished
4976
4ed713442c51 updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents: 4972
diff changeset
1169 >>> Testing StringToChars using l.extend([Mapping({"abcG" : Mapping({%s : 1})})])
4ed713442c51 updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents: 4972
diff changeset
1170 l.extend([Mapping({"abcG" : Mapping({1 : 1})})]):TypeError:('expected str() or unicode() instance, but got int',)
4ed713442c51 updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents: 4972
diff changeset
1171 l.extend([Mapping({"abcG" : Mapping({u"\0" : 1})})]):TypeError:('expected string without null bytes',)
4ed713442c51 updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents: 4972
diff changeset
1172 l.extend([Mapping({"abcG" : Mapping({"\0" : 1})})]):TypeError:('expected string without null bytes',)
4637
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
1173 <<< Finished
4976
4ed713442c51 updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents: 4972
diff changeset
1174 >>> Testing *Iter* using l.extend([Mapping({"abcG" : %s})])
4ed713442c51 updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents: 4972
diff changeset
1175 l.extend([Mapping({"abcG" : FailingIter()})]):TypeError:('unable to convert FailingIter to vim structure',)
4982
39980afcf54a updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents: 4976
diff changeset
1176 l.extend([Mapping({"abcG" : FailingIterNext()})]):NotImplementedError:('next',)
4637
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
1177 <<< Finished
4976
4ed713442c51 updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents: 4972
diff changeset
1178 >>> Testing ConvertFromPyObject using l.extend([Mapping({"abcG" : %s})])
12806
ef93c4415667 patch 8.0.1280: Python None cannot be converted to a Vim type
Christian Brabandt <cb@256bit.org>
parents: 10160
diff changeset
1179 l.extend([Mapping({"abcG" : None})]):NOT FAILED
4976
4ed713442c51 updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents: 4972
diff changeset
1180 l.extend([Mapping({"abcG" : {"": 1}})]):ValueError:('empty keys are not allowed',)
4ed713442c51 updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents: 4972
diff changeset
1181 l.extend([Mapping({"abcG" : {u"": 1}})]):ValueError:('empty keys are not allowed',)
4982
39980afcf54a updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents: 4976
diff changeset
1182 l.extend([Mapping({"abcG" : FailingMapping()})]):NotImplementedError:('keys',)
39980afcf54a updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents: 4976
diff changeset
1183 l.extend([Mapping({"abcG" : FailingMappingKey()})]):NotImplementedError:('getitem:mappingkey',)
39980afcf54a updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents: 4976
diff changeset
1184 l.extend([Mapping({"abcG" : FailingNumber()})]):TypeError:('long() argument must be a string or a number',)
4637
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
1185 <<< Finished
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
1186 >>> Testing *Iter* using l.extend([%s])
4970
f5c822e5a0eb updated for version 7.3.1230
Bram Moolenaar <bram@vim.org>
parents: 4964
diff changeset
1187 l.extend([FailingIter()]):TypeError:('unable to convert FailingIter to vim structure',)
4982
39980afcf54a updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents: 4976
diff changeset
1188 l.extend([FailingIterNext()]):NotImplementedError:('next',)
4637
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
1189 <<< Finished
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
1190 >>> Testing ConvertFromPyObject using l.extend([%s])
12806
ef93c4415667 patch 8.0.1280: Python None cannot be converted to a Vim type
Christian Brabandt <cb@256bit.org>
parents: 10160
diff changeset
1191 l.extend([None]):NOT FAILED
4853
b584d361e746 updated for version 7.3.1173
Bram Moolenaar <bram@vim.org>
parents: 4851
diff changeset
1192 l.extend([{"": 1}]):ValueError:('empty keys are not allowed',)
b584d361e746 updated for version 7.3.1173
Bram Moolenaar <bram@vim.org>
parents: 4851
diff changeset
1193 l.extend([{u"": 1}]):ValueError:('empty keys are not allowed',)
4982
39980afcf54a updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents: 4976
diff changeset
1194 l.extend([FailingMapping()]):NotImplementedError:('keys',)
39980afcf54a updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents: 4976
diff changeset
1195 l.extend([FailingMappingKey()]):NotImplementedError:('getitem:mappingkey',)
39980afcf54a updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents: 4976
diff changeset
1196 l.extend([FailingNumber()]):TypeError:('long() argument must be a string or a number',)
4637
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
1197 <<< Finished
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
1198 >> ListSetattr
4853
b584d361e746 updated for version 7.3.1173
Bram Moolenaar <bram@vim.org>
parents: 4851
diff changeset
1199 del l.locked:AttributeError:('cannot delete vim.List attributes',)
4982
39980afcf54a updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents: 4976
diff changeset
1200 l.locked = FailingTrue():NotImplementedError:('bool',)
4970
f5c822e5a0eb updated for version 7.3.1230
Bram Moolenaar <bram@vim.org>
parents: 4964
diff changeset
1201 l.xxx = True:AttributeError:('cannot set attribute xxx',)
4637
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
1202 > Function
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
1203 >> FunctionConstructor
8889
8755d57debaa commit https://github.com/vim/vim/commit/8110a091bc749d8748a20807a724a3af3ca6d509
Christian Brabandt <cb@256bit.org>
parents: 7660
diff changeset
1204 >>> FunctionConstructor
4970
f5c822e5a0eb updated for version 7.3.1230
Bram Moolenaar <bram@vim.org>
parents: 4964
diff changeset
1205 vim.Function("123"):ValueError:('unnamed function 123 does not exist',)
f5c822e5a0eb updated for version 7.3.1230
Bram Moolenaar <bram@vim.org>
parents: 4964
diff changeset
1206 vim.Function("xxx_non_existent_function_xxx"):ValueError:('function xxx_non_existent_function_xxx does not exist',)
4641
59e6c2bd68e3 updated for version 7.3.1068
Bram Moolenaar <bram@vim.org>
parents: 4637
diff changeset
1207 vim.Function("xxx#non#existent#function#xxx"):NOT FAILED
8889
8755d57debaa commit https://github.com/vim/vim/commit/8110a091bc749d8748a20807a724a3af3ca6d509
Christian Brabandt <cb@256bit.org>
parents: 7660
diff changeset
1208 vim.Function("xxx_non_existent_function_xxx2", args=[]):ValueError:('function xxx_non_existent_function_xxx2 does not exist',)
8755d57debaa commit https://github.com/vim/vim/commit/8110a091bc749d8748a20807a724a3af3ca6d509
Christian Brabandt <cb@256bit.org>
parents: 7660
diff changeset
1209 vim.Function("xxx_non_existent_function_xxx3", self={}):ValueError:('function xxx_non_existent_function_xxx3 does not exist',)
8755d57debaa commit https://github.com/vim/vim/commit/8110a091bc749d8748a20807a724a3af3ca6d509
Christian Brabandt <cb@256bit.org>
parents: 7660
diff changeset
1210 vim.Function("xxx_non_existent_function_xxx4", args=[], self={}):ValueError:('function xxx_non_existent_function_xxx4 does not exist',)
8755d57debaa commit https://github.com/vim/vim/commit/8110a091bc749d8748a20807a724a3af3ca6d509
Christian Brabandt <cb@256bit.org>
parents: 7660
diff changeset
1211 >>> FunctionNew
8755d57debaa commit https://github.com/vim/vim/commit/8110a091bc749d8748a20807a724a3af3ca6d509
Christian Brabandt <cb@256bit.org>
parents: 7660
diff changeset
1212 vim.Function("tr", self="abcFuncSelf"):TypeError:('unable to convert str to vim dictionary',)
8755d57debaa commit https://github.com/vim/vim/commit/8110a091bc749d8748a20807a724a3af3ca6d509
Christian Brabandt <cb@256bit.org>
parents: 7660
diff changeset
1213 vim.Function("tr", args=427423):TypeError:('unable to convert int to vim list',)
8755d57debaa commit https://github.com/vim/vim/commit/8110a091bc749d8748a20807a724a3af3ca6d509
Christian Brabandt <cb@256bit.org>
parents: 7660
diff changeset
1214 vim.Function("tr", self="abcFuncSelf2", args="abcFuncArgs2"):TypeError:('unable to convert str to vim dictionary',)
8755d57debaa commit https://github.com/vim/vim/commit/8110a091bc749d8748a20807a724a3af3ca6d509
Christian Brabandt <cb@256bit.org>
parents: 7660
diff changeset
1215 vim.Function(self="abcFuncSelf2", args="abcFuncArgs2"):TypeError:('unable to convert str to vim dictionary',)
8755d57debaa commit https://github.com/vim/vim/commit/8110a091bc749d8748a20807a724a3af3ca6d509
Christian Brabandt <cb@256bit.org>
parents: 7660
diff changeset
1216 vim.Function("tr", "", self="abcFuncSelf2", args="abcFuncArgs2"):TypeError:('unable to convert str to vim dictionary',)
8755d57debaa commit https://github.com/vim/vim/commit/8110a091bc749d8748a20807a724a3af3ca6d509
Christian Brabandt <cb@256bit.org>
parents: 7660
diff changeset
1217 vim.Function("tr", ""):TypeError:('function takes exactly 1 argument (2 given)',)
4637
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
1218 >> FunctionCall
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
1219 >>> Testing StringToChars using f({%s : 1})
4970
f5c822e5a0eb updated for version 7.3.1230
Bram Moolenaar <bram@vim.org>
parents: 4964
diff changeset
1220 f({1 : 1}):TypeError:('expected str() or unicode() instance, but got int',)
4853
b584d361e746 updated for version 7.3.1173
Bram Moolenaar <bram@vim.org>
parents: 4851
diff changeset
1221 f({u"\0" : 1}):TypeError:('expected string without null bytes',)
b584d361e746 updated for version 7.3.1173
Bram Moolenaar <bram@vim.org>
parents: 4851
diff changeset
1222 f({"\0" : 1}):TypeError:('expected string without null bytes',)
4637
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
1223 <<< Finished
4976
4ed713442c51 updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents: 4972
diff changeset
1224 >>> Testing StringToChars using f({"abcF" : {%s : 1}})
4ed713442c51 updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents: 4972
diff changeset
1225 f({"abcF" : {1 : 1}}):TypeError:('expected str() or unicode() instance, but got int',)
4ed713442c51 updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents: 4972
diff changeset
1226 f({"abcF" : {u"\0" : 1}}):TypeError:('expected string without null bytes',)
4ed713442c51 updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents: 4972
diff changeset
1227 f({"abcF" : {"\0" : 1}}):TypeError:('expected string without null bytes',)
4637
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
1228 <<< Finished
4976
4ed713442c51 updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents: 4972
diff changeset
1229 >>> Testing StringToChars using f({"abcF" : Mapping({%s : 1})})
4ed713442c51 updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents: 4972
diff changeset
1230 f({"abcF" : Mapping({1 : 1})}):TypeError:('expected str() or unicode() instance, but got int',)
4ed713442c51 updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents: 4972
diff changeset
1231 f({"abcF" : Mapping({u"\0" : 1})}):TypeError:('expected string without null bytes',)
4ed713442c51 updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents: 4972
diff changeset
1232 f({"abcF" : Mapping({"\0" : 1})}):TypeError:('expected string without null bytes',)
4637
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
1233 <<< Finished
4976
4ed713442c51 updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents: 4972
diff changeset
1234 >>> Testing *Iter* using f({"abcF" : %s})
4ed713442c51 updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents: 4972
diff changeset
1235 f({"abcF" : FailingIter()}):TypeError:('unable to convert FailingIter to vim structure',)
4982
39980afcf54a updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents: 4976
diff changeset
1236 f({"abcF" : FailingIterNext()}):NotImplementedError:('next',)
4637
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
1237 <<< Finished
4976
4ed713442c51 updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents: 4972
diff changeset
1238 >>> Testing ConvertFromPyObject using f({"abcF" : %s})
12806
ef93c4415667 patch 8.0.1280: Python None cannot be converted to a Vim type
Christian Brabandt <cb@256bit.org>
parents: 10160
diff changeset
1239 f({"abcF" : None}):NOT FAILED
4976
4ed713442c51 updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents: 4972
diff changeset
1240 f({"abcF" : {"": 1}}):ValueError:('empty keys are not allowed',)
4ed713442c51 updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents: 4972
diff changeset
1241 f({"abcF" : {u"": 1}}):ValueError:('empty keys are not allowed',)
4982
39980afcf54a updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents: 4976
diff changeset
1242 f({"abcF" : FailingMapping()}):NotImplementedError:('keys',)
39980afcf54a updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents: 4976
diff changeset
1243 f({"abcF" : FailingMappingKey()}):NotImplementedError:('getitem:mappingkey',)
39980afcf54a updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents: 4976
diff changeset
1244 f({"abcF" : FailingNumber()}):TypeError:('long() argument must be a string or a number',)
4637
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
1245 <<< Finished
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
1246 >>> Testing StringToChars using f(Mapping({%s : 1}))
4970
f5c822e5a0eb updated for version 7.3.1230
Bram Moolenaar <bram@vim.org>
parents: 4964
diff changeset
1247 f(Mapping({1 : 1})):TypeError:('expected str() or unicode() instance, but got int',)
4853
b584d361e746 updated for version 7.3.1173
Bram Moolenaar <bram@vim.org>
parents: 4851
diff changeset
1248 f(Mapping({u"\0" : 1})):TypeError:('expected string without null bytes',)
b584d361e746 updated for version 7.3.1173
Bram Moolenaar <bram@vim.org>
parents: 4851
diff changeset
1249 f(Mapping({"\0" : 1})):TypeError:('expected string without null bytes',)
4637
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
1250 <<< Finished
4976
4ed713442c51 updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents: 4972
diff changeset
1251 >>> Testing StringToChars using f(Mapping({"abcG" : {%s : 1}}))
4ed713442c51 updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents: 4972
diff changeset
1252 f(Mapping({"abcG" : {1 : 1}})):TypeError:('expected str() or unicode() instance, but got int',)
4ed713442c51 updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents: 4972
diff changeset
1253 f(Mapping({"abcG" : {u"\0" : 1}})):TypeError:('expected string without null bytes',)
4ed713442c51 updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents: 4972
diff changeset
1254 f(Mapping({"abcG" : {"\0" : 1}})):TypeError:('expected string without null bytes',)
4637
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
1255 <<< Finished
4976
4ed713442c51 updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents: 4972
diff changeset
1256 >>> Testing StringToChars using f(Mapping({"abcG" : Mapping({%s : 1})}))
4ed713442c51 updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents: 4972
diff changeset
1257 f(Mapping({"abcG" : Mapping({1 : 1})})):TypeError:('expected str() or unicode() instance, but got int',)
4ed713442c51 updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents: 4972
diff changeset
1258 f(Mapping({"abcG" : Mapping({u"\0" : 1})})):TypeError:('expected string without null bytes',)
4ed713442c51 updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents: 4972
diff changeset
1259 f(Mapping({"abcG" : Mapping({"\0" : 1})})):TypeError:('expected string without null bytes',)
4637
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
1260 <<< Finished
4976
4ed713442c51 updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents: 4972
diff changeset
1261 >>> Testing *Iter* using f(Mapping({"abcG" : %s}))
4ed713442c51 updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents: 4972
diff changeset
1262 f(Mapping({"abcG" : FailingIter()})):TypeError:('unable to convert FailingIter to vim structure',)
4982
39980afcf54a updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents: 4976
diff changeset
1263 f(Mapping({"abcG" : FailingIterNext()})):NotImplementedError:('next',)
4637
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
1264 <<< Finished
4976
4ed713442c51 updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents: 4972
diff changeset
1265 >>> Testing ConvertFromPyObject using f(Mapping({"abcG" : %s}))
12806
ef93c4415667 patch 8.0.1280: Python None cannot be converted to a Vim type
Christian Brabandt <cb@256bit.org>
parents: 10160
diff changeset
1266 f(Mapping({"abcG" : None})):NOT FAILED
4976
4ed713442c51 updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents: 4972
diff changeset
1267 f(Mapping({"abcG" : {"": 1}})):ValueError:('empty keys are not allowed',)
4ed713442c51 updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents: 4972
diff changeset
1268 f(Mapping({"abcG" : {u"": 1}})):ValueError:('empty keys are not allowed',)
4982
39980afcf54a updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents: 4976
diff changeset
1269 f(Mapping({"abcG" : FailingMapping()})):NotImplementedError:('keys',)
39980afcf54a updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents: 4976
diff changeset
1270 f(Mapping({"abcG" : FailingMappingKey()})):NotImplementedError:('getitem:mappingkey',)
39980afcf54a updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents: 4976
diff changeset
1271 f(Mapping({"abcG" : FailingNumber()})):TypeError:('long() argument must be a string or a number',)
4637
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
1272 <<< Finished
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
1273 >>> Testing *Iter* using f(%s)
4970
f5c822e5a0eb updated for version 7.3.1230
Bram Moolenaar <bram@vim.org>
parents: 4964
diff changeset
1274 f(FailingIter()):TypeError:('unable to convert FailingIter to vim structure',)
4982
39980afcf54a updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents: 4976
diff changeset
1275 f(FailingIterNext()):NotImplementedError:('next',)
4637
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
1276 <<< Finished
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
1277 >>> Testing ConvertFromPyObject using f(%s)
12806
ef93c4415667 patch 8.0.1280: Python None cannot be converted to a Vim type
Christian Brabandt <cb@256bit.org>
parents: 10160
diff changeset
1278 f(None):NOT FAILED
4853
b584d361e746 updated for version 7.3.1173
Bram Moolenaar <bram@vim.org>
parents: 4851
diff changeset
1279 f({"": 1}):ValueError:('empty keys are not allowed',)
b584d361e746 updated for version 7.3.1173
Bram Moolenaar <bram@vim.org>
parents: 4851
diff changeset
1280 f({u"": 1}):ValueError:('empty keys are not allowed',)
4982
39980afcf54a updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents: 4976
diff changeset
1281 f(FailingMapping()):NotImplementedError:('keys',)
39980afcf54a updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents: 4976
diff changeset
1282 f(FailingMappingKey()):NotImplementedError:('getitem:mappingkey',)
39980afcf54a updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents: 4976
diff changeset
1283 f(FailingNumber()):TypeError:('long() argument must be a string or a number',)
4637
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
1284 <<< Finished
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
1285 >>> Testing StringToChars using fd(self={%s : 1})
4970
f5c822e5a0eb updated for version 7.3.1230
Bram Moolenaar <bram@vim.org>
parents: 4964
diff changeset
1286 fd(self={1 : 1}):TypeError:('expected str() or unicode() instance, but got int',)
4853
b584d361e746 updated for version 7.3.1173
Bram Moolenaar <bram@vim.org>
parents: 4851
diff changeset
1287 fd(self={u"\0" : 1}):TypeError:('expected string without null bytes',)
b584d361e746 updated for version 7.3.1173
Bram Moolenaar <bram@vim.org>
parents: 4851
diff changeset
1288 fd(self={"\0" : 1}):TypeError:('expected string without null bytes',)
4637
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
1289 <<< Finished
4976
4ed713442c51 updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents: 4972
diff changeset
1290 >>> Testing StringToChars using fd(self={"abcF" : {%s : 1}})
4ed713442c51 updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents: 4972
diff changeset
1291 fd(self={"abcF" : {1 : 1}}):TypeError:('expected str() or unicode() instance, but got int',)
4ed713442c51 updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents: 4972
diff changeset
1292 fd(self={"abcF" : {u"\0" : 1}}):TypeError:('expected string without null bytes',)
4ed713442c51 updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents: 4972
diff changeset
1293 fd(self={"abcF" : {"\0" : 1}}):TypeError:('expected string without null bytes',)
4637
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
1294 <<< Finished
4976
4ed713442c51 updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents: 4972
diff changeset
1295 >>> Testing StringToChars using fd(self={"abcF" : Mapping({%s : 1})})
4ed713442c51 updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents: 4972
diff changeset
1296 fd(self={"abcF" : Mapping({1 : 1})}):TypeError:('expected str() or unicode() instance, but got int',)
4ed713442c51 updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents: 4972
diff changeset
1297 fd(self={"abcF" : Mapping({u"\0" : 1})}):TypeError:('expected string without null bytes',)
4ed713442c51 updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents: 4972
diff changeset
1298 fd(self={"abcF" : Mapping({"\0" : 1})}):TypeError:('expected string without null bytes',)
4637
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
1299 <<< Finished
4976
4ed713442c51 updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents: 4972
diff changeset
1300 >>> Testing *Iter* using fd(self={"abcF" : %s})
4ed713442c51 updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents: 4972
diff changeset
1301 fd(self={"abcF" : FailingIter()}):TypeError:('unable to convert FailingIter to vim structure',)
4982
39980afcf54a updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents: 4976
diff changeset
1302 fd(self={"abcF" : FailingIterNext()}):NotImplementedError:('next',)
4637
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
1303 <<< Finished
4976
4ed713442c51 updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents: 4972
diff changeset
1304 >>> Testing ConvertFromPyObject using fd(self={"abcF" : %s})
12806
ef93c4415667 patch 8.0.1280: Python None cannot be converted to a Vim type
Christian Brabandt <cb@256bit.org>
parents: 10160
diff changeset
1305 fd(self={"abcF" : None}):NOT FAILED
4976
4ed713442c51 updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents: 4972
diff changeset
1306 fd(self={"abcF" : {"": 1}}):ValueError:('empty keys are not allowed',)
4ed713442c51 updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents: 4972
diff changeset
1307 fd(self={"abcF" : {u"": 1}}):ValueError:('empty keys are not allowed',)
4982
39980afcf54a updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents: 4976
diff changeset
1308 fd(self={"abcF" : FailingMapping()}):NotImplementedError:('keys',)
39980afcf54a updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents: 4976
diff changeset
1309 fd(self={"abcF" : FailingMappingKey()}):NotImplementedError:('getitem:mappingkey',)
39980afcf54a updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents: 4976
diff changeset
1310 fd(self={"abcF" : FailingNumber()}):TypeError:('long() argument must be a string or a number',)
4637
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
1311 <<< Finished
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
1312 >>> Testing StringToChars using fd(self=Mapping({%s : 1}))
4970
f5c822e5a0eb updated for version 7.3.1230
Bram Moolenaar <bram@vim.org>
parents: 4964
diff changeset
1313 fd(self=Mapping({1 : 1})):TypeError:('expected str() or unicode() instance, but got int',)
4853
b584d361e746 updated for version 7.3.1173
Bram Moolenaar <bram@vim.org>
parents: 4851
diff changeset
1314 fd(self=Mapping({u"\0" : 1})):TypeError:('expected string without null bytes',)
b584d361e746 updated for version 7.3.1173
Bram Moolenaar <bram@vim.org>
parents: 4851
diff changeset
1315 fd(self=Mapping({"\0" : 1})):TypeError:('expected string without null bytes',)
4637
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
1316 <<< Finished
4976
4ed713442c51 updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents: 4972
diff changeset
1317 >>> Testing StringToChars using fd(self=Mapping({"abcG" : {%s : 1}}))
4ed713442c51 updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents: 4972
diff changeset
1318 fd(self=Mapping({"abcG" : {1 : 1}})):TypeError:('expected str() or unicode() instance, but got int',)
4ed713442c51 updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents: 4972
diff changeset
1319 fd(self=Mapping({"abcG" : {u"\0" : 1}})):TypeError:('expected string without null bytes',)
4ed713442c51 updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents: 4972
diff changeset
1320 fd(self=Mapping({"abcG" : {"\0" : 1}})):TypeError:('expected string without null bytes',)
4637
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
1321 <<< Finished
4976
4ed713442c51 updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents: 4972
diff changeset
1322 >>> Testing StringToChars using fd(self=Mapping({"abcG" : Mapping({%s : 1})}))
4ed713442c51 updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents: 4972
diff changeset
1323 fd(self=Mapping({"abcG" : Mapping({1 : 1})})):TypeError:('expected str() or unicode() instance, but got int',)
4ed713442c51 updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents: 4972
diff changeset
1324 fd(self=Mapping({"abcG" : Mapping({u"\0" : 1})})):TypeError:('expected string without null bytes',)
4ed713442c51 updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents: 4972
diff changeset
1325 fd(self=Mapping({"abcG" : Mapping({"\0" : 1})})):TypeError:('expected string without null bytes',)
4637
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
1326 <<< Finished
4976
4ed713442c51 updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents: 4972
diff changeset
1327 >>> Testing *Iter* using fd(self=Mapping({"abcG" : %s}))
4ed713442c51 updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents: 4972
diff changeset
1328 fd(self=Mapping({"abcG" : FailingIter()})):TypeError:('unable to convert FailingIter to vim structure',)
4982
39980afcf54a updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents: 4976
diff changeset
1329 fd(self=Mapping({"abcG" : FailingIterNext()})):NotImplementedError:('next',)
4637
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
1330 <<< Finished
4976
4ed713442c51 updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents: 4972
diff changeset
1331 >>> Testing ConvertFromPyObject using fd(self=Mapping({"abcG" : %s}))
12806
ef93c4415667 patch 8.0.1280: Python None cannot be converted to a Vim type
Christian Brabandt <cb@256bit.org>
parents: 10160
diff changeset
1332 fd(self=Mapping({"abcG" : None})):NOT FAILED
4976
4ed713442c51 updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents: 4972
diff changeset
1333 fd(self=Mapping({"abcG" : {"": 1}})):ValueError:('empty keys are not allowed',)
4ed713442c51 updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents: 4972
diff changeset
1334 fd(self=Mapping({"abcG" : {u"": 1}})):ValueError:('empty keys are not allowed',)
4982
39980afcf54a updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents: 4976
diff changeset
1335 fd(self=Mapping({"abcG" : FailingMapping()})):NotImplementedError:('keys',)
39980afcf54a updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents: 4976
diff changeset
1336 fd(self=Mapping({"abcG" : FailingMappingKey()})):NotImplementedError:('getitem:mappingkey',)
39980afcf54a updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents: 4976
diff changeset
1337 fd(self=Mapping({"abcG" : FailingNumber()})):TypeError:('long() argument must be a string or a number',)
4637
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
1338 <<< Finished
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
1339 >>> Testing *Iter* using fd(self=%s)
4970
f5c822e5a0eb updated for version 7.3.1230
Bram Moolenaar <bram@vim.org>
parents: 4964
diff changeset
1340 fd(self=FailingIter()):TypeError:('unable to convert FailingIter to vim dictionary',)
f5c822e5a0eb updated for version 7.3.1230
Bram Moolenaar <bram@vim.org>
parents: 4964
diff changeset
1341 fd(self=FailingIterNext()):TypeError:('unable to convert FailingIterNext to vim dictionary',)
4637
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
1342 <<< Finished
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
1343 >>> Testing ConvertFromPyObject using fd(self=%s)
4970
f5c822e5a0eb updated for version 7.3.1230
Bram Moolenaar <bram@vim.org>
parents: 4964
diff changeset
1344 fd(self=None):TypeError:('unable to convert NoneType to vim dictionary',)
4853
b584d361e746 updated for version 7.3.1173
Bram Moolenaar <bram@vim.org>
parents: 4851
diff changeset
1345 fd(self={"": 1}):ValueError:('empty keys are not allowed',)
b584d361e746 updated for version 7.3.1173
Bram Moolenaar <bram@vim.org>
parents: 4851
diff changeset
1346 fd(self={u"": 1}):ValueError:('empty keys are not allowed',)
4982
39980afcf54a updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents: 4976
diff changeset
1347 fd(self=FailingMapping()):NotImplementedError:('keys',)
39980afcf54a updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents: 4976
diff changeset
1348 fd(self=FailingMappingKey()):NotImplementedError:('getitem:mappingkey',)
39980afcf54a updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents: 4976
diff changeset
1349 fd(self=FailingNumber()):TypeError:('unable to convert FailingNumber to vim dictionary',)
4637
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
1350 <<< Finished
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
1351 >>> Testing ConvertFromPyMapping using fd(self=%s)
4970
f5c822e5a0eb updated for version 7.3.1230
Bram Moolenaar <bram@vim.org>
parents: 4964
diff changeset
1352 fd(self=[]):TypeError:('unable to convert list to vim dictionary',)
4637
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
1353 <<< Finished
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
1354 > TabPage
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
1355 >> TabPageAttr
4853
b584d361e746 updated for version 7.3.1173
Bram Moolenaar <bram@vim.org>
parents: 4851
diff changeset
1356 vim.current.tabpage.xxx:AttributeError:('xxx',)
4637
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
1357 > TabList
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
1358 >> TabListItem
4853
b584d361e746 updated for version 7.3.1173
Bram Moolenaar <bram@vim.org>
parents: 4851
diff changeset
1359 vim.tabpages[1000]:IndexError:('no such tab page',)
4637
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
1360 > Window
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
1361 >> WindowAttr
4853
b584d361e746 updated for version 7.3.1173
Bram Moolenaar <bram@vim.org>
parents: 4851
diff changeset
1362 vim.current.window.xxx:AttributeError:('xxx',)
4637
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
1363 >> WindowSetattr
4970
f5c822e5a0eb updated for version 7.3.1230
Bram Moolenaar <bram@vim.org>
parents: 4964
diff changeset
1364 vim.current.window.buffer = 0:TypeError:('readonly attribute: buffer',)
4853
b584d361e746 updated for version 7.3.1173
Bram Moolenaar <bram@vim.org>
parents: 4851
diff changeset
1365 vim.current.window.cursor = (100000000, 100000000):error:('cursor position outside buffer',)
b584d361e746 updated for version 7.3.1173
Bram Moolenaar <bram@vim.org>
parents: 4851
diff changeset
1366 vim.current.window.cursor = True:TypeError:('argument must be 2-item sequence, not bool',)
4982
39980afcf54a updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents: 4976
diff changeset
1367 >>> Testing NumberToLong using vim.current.window.height = %s
39980afcf54a updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents: 4976
diff changeset
1368 vim.current.window.height = []:TypeError:('expected int(), long() or something supporting coercing to long(), but got list',)
39980afcf54a updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents: 4976
diff changeset
1369 vim.current.window.height = None:TypeError:('expected int(), long() or something supporting coercing to long(), but got NoneType',)
39980afcf54a updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents: 4976
diff changeset
1370 vim.current.window.height = -1:ValueError:('number must be greater or equal to zero',)
39980afcf54a updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents: 4976
diff changeset
1371 <<< Finished
39980afcf54a updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents: 4976
diff changeset
1372 >>> Testing NumberToLong using vim.current.window.width = %s
39980afcf54a updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents: 4976
diff changeset
1373 vim.current.window.width = []:TypeError:('expected int(), long() or something supporting coercing to long(), but got list',)
39980afcf54a updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents: 4976
diff changeset
1374 vim.current.window.width = None:TypeError:('expected int(), long() or something supporting coercing to long(), but got NoneType',)
39980afcf54a updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents: 4976
diff changeset
1375 vim.current.window.width = -1:ValueError:('number must be greater or equal to zero',)
39980afcf54a updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents: 4976
diff changeset
1376 <<< Finished
4853
b584d361e746 updated for version 7.3.1173
Bram Moolenaar <bram@vim.org>
parents: 4851
diff changeset
1377 vim.current.window.xxxxxx = True:AttributeError:('xxxxxx',)
4637
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
1378 > WinList
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
1379 >> WinListItem
4853
b584d361e746 updated for version 7.3.1173
Bram Moolenaar <bram@vim.org>
parents: 4851
diff changeset
1380 vim.windows[1000]:IndexError:('no such window',)
4637
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
1381 > Buffer
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
1382 >> StringToLine (indirect)
4982
39980afcf54a updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents: 4976
diff changeset
1383 vim.current.buffer[0] = u"\na":error:('string cannot contain newlines',)
4853
b584d361e746 updated for version 7.3.1173
Bram Moolenaar <bram@vim.org>
parents: 4851
diff changeset
1384 vim.current.buffer[0] = "\na":error:('string cannot contain newlines',)
4637
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
1385 >> SetBufferLine (indirect)
4853
b584d361e746 updated for version 7.3.1173
Bram Moolenaar <bram@vim.org>
parents: 4851
diff changeset
1386 vim.current.buffer[0] = True:TypeError:('bad argument type for built-in operation',)
4976
4ed713442c51 updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents: 4972
diff changeset
1387 >> SetBufferLineList (indirect)
4853
b584d361e746 updated for version 7.3.1173
Bram Moolenaar <bram@vim.org>
parents: 4851
diff changeset
1388 vim.current.buffer[:] = True:TypeError:('bad argument type for built-in operation',)
b584d361e746 updated for version 7.3.1173
Bram Moolenaar <bram@vim.org>
parents: 4851
diff changeset
1389 vim.current.buffer[:] = ["\na", "bc"]:error:('string cannot contain newlines',)
4637
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
1390 >> InsertBufferLines (indirect)
4853
b584d361e746 updated for version 7.3.1173
Bram Moolenaar <bram@vim.org>
parents: 4851
diff changeset
1391 vim.current.buffer.append(None):TypeError:('bad argument type for built-in operation',)
b584d361e746 updated for version 7.3.1173
Bram Moolenaar <bram@vim.org>
parents: 4851
diff changeset
1392 vim.current.buffer.append(["\na", "bc"]):error:('string cannot contain newlines',)
b584d361e746 updated for version 7.3.1173
Bram Moolenaar <bram@vim.org>
parents: 4851
diff changeset
1393 vim.current.buffer.append("\nbc"):error:('string cannot contain newlines',)
4637
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
1394 >> RBItem
4853
b584d361e746 updated for version 7.3.1173
Bram Moolenaar <bram@vim.org>
parents: 4851
diff changeset
1395 vim.current.buffer[100000000]:IndexError:('line number out of range',)
4637
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
1396 >> RBAsItem
4853
b584d361e746 updated for version 7.3.1173
Bram Moolenaar <bram@vim.org>
parents: 4851
diff changeset
1397 vim.current.buffer[100000000] = "":IndexError:('line number out of range',)
4637
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
1398 >> BufferAttr
4853
b584d361e746 updated for version 7.3.1173
Bram Moolenaar <bram@vim.org>
parents: 4851
diff changeset
1399 vim.current.buffer.xxx:AttributeError:('xxx',)
4637
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
1400 >> BufferSetattr
4970
f5c822e5a0eb updated for version 7.3.1230
Bram Moolenaar <bram@vim.org>
parents: 4964
diff changeset
1401 vim.current.buffer.name = True:TypeError:('expected str() or unicode() instance, but got bool',)
4853
b584d361e746 updated for version 7.3.1173
Bram Moolenaar <bram@vim.org>
parents: 4851
diff changeset
1402 vim.current.buffer.xxx = True:AttributeError:('xxx',)
4637
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
1403 >> BufferMark
4970
f5c822e5a0eb updated for version 7.3.1230
Bram Moolenaar <bram@vim.org>
parents: 4964
diff changeset
1404 vim.current.buffer.mark(0):TypeError:('expected str() or unicode() instance, but got int',)
4976
4ed713442c51 updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents: 4972
diff changeset
1405 vim.current.buffer.mark("abcM"):ValueError:('mark name must be a single character',)
4853
b584d361e746 updated for version 7.3.1173
Bram Moolenaar <bram@vim.org>
parents: 4851
diff changeset
1406 vim.current.buffer.mark("!"):error:('invalid mark name',)
4637
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
1407 >> BufferRange
4853
b584d361e746 updated for version 7.3.1173
Bram Moolenaar <bram@vim.org>
parents: 4851
diff changeset
1408 vim.current.buffer.range(1, 2, 3):TypeError:('function takes exactly 2 arguments (3 given)',)
4637
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
1409 > BufMap
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
1410 >> BufMapItem
4982
39980afcf54a updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents: 4976
diff changeset
1411 vim.buffers[100000000]:KeyError:(100000000,)
39980afcf54a updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents: 4976
diff changeset
1412 >>> Testing NumberToLong using vim.buffers[%s]
39980afcf54a updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents: 4976
diff changeset
1413 vim.buffers[[]]:TypeError:('expected int(), long() or something supporting coercing to long(), but got list',)
4972
537bbfff0c5c updated for version 7.3.1231
Bram Moolenaar <bram@vim.org>
parents: 4970
diff changeset
1414 vim.buffers[None]:TypeError:('expected int(), long() or something supporting coercing to long(), but got NoneType',)
5700
c2e88a40d530 updated for version 7.4.195
Bram Moolenaar <bram@vim.org>
parents: 5610
diff changeset
1415 vim.buffers[-1]:ValueError:('number must be greater than zero',)
c2e88a40d530 updated for version 7.4.195
Bram Moolenaar <bram@vim.org>
parents: 5610
diff changeset
1416 vim.buffers[0]:ValueError:('number must be greater than zero',)
4982
39980afcf54a updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents: 4976
diff changeset
1417 <<< Finished
4637
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
1418 > Current
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
1419 >> CurrentGetattr
4853
b584d361e746 updated for version 7.3.1173
Bram Moolenaar <bram@vim.org>
parents: 4851
diff changeset
1420 vim.current.xxx:AttributeError:('xxx',)
4637
4c46e1487c63 updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents: 4631
diff changeset
1421 >> CurrentSetattr
4853
b584d361e746 updated for version 7.3.1173
Bram Moolenaar <bram@vim.org>
parents: 4851
diff changeset
1422 vim.current.line = True:TypeError:('bad argument type for built-in operation',)
4970
f5c822e5a0eb updated for version 7.3.1230
Bram Moolenaar <bram@vim.org>
parents: 4964
diff changeset
1423 vim.current.buffer = True:TypeError:('expected vim.Buffer object, but got bool',)
f5c822e5a0eb updated for version 7.3.1230
Bram Moolenaar <bram@vim.org>
parents: 4964
diff changeset
1424 vim.current.window = True:TypeError:('expected vim.Window object, but got bool',)
f5c822e5a0eb updated for version 7.3.1230
Bram Moolenaar <bram@vim.org>
parents: 4964
diff changeset
1425 vim.current.tabpage = True:TypeError:('expected vim.TabPage object, but got bool',)
4853
b584d361e746 updated for version 7.3.1173
Bram Moolenaar <bram@vim.org>
parents: 4851
diff changeset
1426 vim.current.xxx = True:AttributeError:('xxx',)
4982
39980afcf54a updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents: 4976
diff changeset
1427 ['/testdir']
39980afcf54a updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents: 4976
diff changeset
1428 '/testdir'
4839
d59ff2114733 updated for version 7.3.1166
Bram Moolenaar <bram@vim.org>
parents: 4706
diff changeset
1429 2,xx
4851
96e154e825a7 updated for version 7.3.1172
Bram Moolenaar <bram@vim.org>
parents: 4839
diff changeset
1430 before
96e154e825a7 updated for version 7.3.1172
Bram Moolenaar <bram@vim.org>
parents: 4839
diff changeset
1431 after
4982
39980afcf54a updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents: 4976
diff changeset
1432 pythonx/topmodule/__init__.py
39980afcf54a updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents: 4976
diff changeset
1433 pythonx/topmodule/submodule/__init__.py
39980afcf54a updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents: 4976
diff changeset
1434 pythonx/topmodule/submodule/subsubmodule/subsubsubmodule.py
4976
4ed713442c51 updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents: 4972
diff changeset
1435 vim.command("throw 'abcN'"):error:('abcN',)
4853
b584d361e746 updated for version 7.3.1173
Bram Moolenaar <bram@vim.org>
parents: 4851
diff changeset
1436 Exe("throw 'def'"):error:('def',)
b584d361e746 updated for version 7.3.1173
Bram Moolenaar <bram@vim.org>
parents: 4851
diff changeset
1437 vim.eval("Exe('throw ''ghi''')"):error:('ghi',)
b584d361e746 updated for version 7.3.1173
Bram Moolenaar <bram@vim.org>
parents: 4851
diff changeset
1438 vim.eval("Exe('echoerr ''jkl''')"):error:('Vim(echoerr):jkl',)
b584d361e746 updated for version 7.3.1173
Bram Moolenaar <bram@vim.org>
parents: 4851
diff changeset
1439 vim.eval("Exe('xxx_non_existent_command_xxx')"):error:('Vim:E492: Not an editor command: xxx_non_existent_command_xxx',)
5517
064e2a080e2e updated for version 7.4.107
Bram Moolenaar <bram@vim.org>
parents: 5469
diff changeset
1440 vim.eval("xxx_unknown_function_xxx()"):error:('Vim:E117: Unknown function: xxx_unknown_function_xxx',)
4853
b584d361e746 updated for version 7.3.1173
Bram Moolenaar <bram@vim.org>
parents: 4851
diff changeset
1441 vim.bindeval("Exe('xxx_non_existent_command_xxx')"):error:('Vim:E492: Not an editor command: xxx_non_existent_command_xxx',)
5469
a56f60cf6834 updated for version 7.4.084
Bram Moolenaar <bram@vim.org>
parents: 5426
diff changeset
1442 Caught KeyboardInterrupt
a56f60cf6834 updated for version 7.4.084
Bram Moolenaar <bram@vim.org>
parents: 5426
diff changeset
1443 Running :put
a56f60cf6834 updated for version 7.4.084
Bram Moolenaar <bram@vim.org>
parents: 5426
diff changeset
1444 No exception
a56f60cf6834 updated for version 7.4.084
Bram Moolenaar <bram@vim.org>
parents: 5426
diff changeset
1445