Skip to content

Commit a6d89dd

Browse files
committed
workaround pypy bug
1 parent 9159bfa commit a6d89dd

File tree

8 files changed

+10
-14
lines changed

8 files changed

+10
-14
lines changed

graalpython/benchmarks/src/micro/c-call-classmethod.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@
7676
0,
7777
0,
7878
Py_TPFLAGS_DEFAULT,
79-
"",
79+
0,
8080
0, /* tp_traverse */
8181
0, /* tp_clear */
8282
0, /* tp_richcompare */

graalpython/benchmarks/src/micro/c-instantiation.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@
7171
0,
7272
0,
7373
Py_TPFLAGS_DEFAULT,
74-
"",
74+
0,
7575
0, /* tp_traverse */
7676
0, /* tp_clear */
7777
0, /* tp_richcompare */
@@ -140,4 +140,3 @@ def measure(num):
140140

141141
def __benchmark__(num=1000000):
142142
measure(num)
143-

graalpython/benchmarks/src/micro/c-list-iterating-obj.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@
129129
0,
130130
0,
131131
Py_TPFLAGS_DEFAULT,
132-
"",
132+
0,
133133
0, /* tp_traverse */
134134
0, /* tp_clear */
135135
0, /* tp_richcompare */
@@ -197,4 +197,3 @@ def measure(num):
197197

198198
def __benchmark__(num=1000000):
199199
measure(num)
200-

graalpython/benchmarks/src/micro/c-magic-bool.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@
129129
0,
130130
0,
131131
Py_TPFLAGS_DEFAULT,
132-
"",
132+
0,
133133
0, /* tp_traverse */
134134
0, /* tp_clear */
135135
0, /* tp_richcompare */
@@ -202,4 +202,3 @@ def measure(num):
202202

203203
def __benchmark__(num=1000000):
204204
measure(num)
205-

graalpython/benchmarks/src/micro/c-magic-iter.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@
118118
0,
119119
0,
120120
Py_TPFLAGS_DEFAULT,
121-
"",
121+
0,
122122
0, /* tp_traverse */
123123
0, /* tp_clear */
124124
0, /* tp_richcompare */
@@ -160,7 +160,7 @@
160160
0,
161161
0,
162162
Py_TPFLAGS_DEFAULT,
163-
"",
163+
0,
164164
0, /* tp_traverse */
165165
0, /* tp_clear */
166166
0, /* tp_richcompare */
@@ -249,7 +249,7 @@ def count(num):
249249
val0 = next(it)
250250
val1 = next(it)
251251
val2 = next(it)
252-
252+
253253
return (val0, val1, val2)
254254

255255

@@ -260,4 +260,3 @@ def measure(num):
260260

261261
def __benchmark__(num=1000000):
262262
measure(num)
263-

graalpython/benchmarks/src/micro/c_arith-binop.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@
6363
0, /* tp_as_buffer */
6464
Py_TPFLAGS_DEFAULT |
6565
Py_TPFLAGS_BASETYPE, /* tp_flags */
66-
"", /* tp_doc */
66+
0, /* tp_doc */
6767
0, /* tp_traverse */
6868
0, /* tp_clear */
6969
0, /* tp_richcompare */

graalpython/benchmarks/src/micro/c_arith_binop_2.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@
153153
0, /* tp_as_buffer */
154154
Py_TPFLAGS_DEFAULT |
155155
Py_TPFLAGS_BASETYPE, /* tp_flags */
156-
"", /* tp_doc */
156+
0, /* tp_doc */
157157
0, /* tp_traverse */
158158
0, /* tp_clear */
159159
0, /* tp_richcompare */

graalpython/benchmarks/src/micro/c_member_access.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@
8888
0, /* tp_as_buffer */
8989
Py_TPFLAGS_DEFAULT |
9090
Py_TPFLAGS_BASETYPE, /* tp_flags */
91-
"", /* tp_doc */
91+
0, /* tp_doc */
9292
0, /* tp_traverse */
9393
0, /* tp_clear */
9494
0, /* tp_richcompare */

0 commit comments

Comments
 (0)