coconut-develop 3.2.0.post0.dev14__py2.py3-none-any.whl → 3.2.0.post0.dev16__py2.py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- coconut/_pyparsing.py +2 -0
- coconut/api.py +3 -3
- coconut/api.pyi +7 -7
- coconut/compiler/compiler.py +141 -76
- coconut/compiler/grammar.py +7 -2
- coconut/constants.py +2 -0
- coconut/root.py +1 -1
- coconut/tests/src/cocotest/agnostic/primary_1.coco +5 -5
- coconut/tests/src/extras.coco +175 -145
- {coconut_develop-3.2.0.post0.dev14.dist-info → coconut_develop-3.2.0.post0.dev16.dist-info}/METADATA +2 -2
- {coconut_develop-3.2.0.post0.dev14.dist-info → coconut_develop-3.2.0.post0.dev16.dist-info}/RECORD +16 -16
- {coconut_develop-3.2.0.post0.dev14.dist-info → coconut_develop-3.2.0.post0.dev16.dist-info}/entry_points.txt +4 -4
- {coconut_develop-3.2.0.post0.dev14.data → coconut_develop-3.2.0.post0.dev16.data}/data/share/jupyter/kernels/coconut/kernel.json +0 -0
- {coconut_develop-3.2.0.post0.dev14.dist-info → coconut_develop-3.2.0.post0.dev16.dist-info}/WHEEL +0 -0
- {coconut_develop-3.2.0.post0.dev14.dist-info → coconut_develop-3.2.0.post0.dev16.dist-info}/licenses/LICENSE.txt +0 -0
- {coconut_develop-3.2.0.post0.dev14.dist-info → coconut_develop-3.2.0.post0.dev16.dist-info}/top_level.txt +0 -0
coconut/tests/src/extras.coco
CHANGED
|
@@ -33,6 +33,9 @@ from coconut.convenience import (
|
|
|
33
33
|
)
|
|
34
34
|
|
|
35
35
|
|
|
36
|
+
parse_with_state = parse$(keep_internal_state=True)
|
|
37
|
+
|
|
38
|
+
|
|
36
39
|
def assert_raises(c, Exc, not_Exc=None, err_has=None) -> None:
|
|
37
40
|
"""Test whether callable c raises an exception of type Exc."""
|
|
38
41
|
if not_Exc is None and Exc is CoconutSyntaxError:
|
|
@@ -98,87 +101,87 @@ def test_setup_none() -> bool:
|
|
|
98
101
|
coconut_exec("def f(x) = x", exec_vars)
|
|
99
102
|
assert exec_vars["f"](10) == 10
|
|
100
103
|
|
|
101
|
-
assert
|
|
102
|
-
assert
|
|
103
|
-
assert
|
|
104
|
-
assert
|
|
105
|
-
assert
|
|
106
|
-
assert
|
|
107
|
-
assert
|
|
108
|
-
assert "_coconut" not in
|
|
109
|
-
assert "_coconut" not in
|
|
110
|
-
assert
|
|
111
|
-
assert
|
|
112
|
-
assert
|
|
113
|
-
assert
|
|
114
|
-
assert
|
|
115
|
-
assert
|
|
116
|
-
assert
|
|
117
|
-
assert "==" not in
|
|
118
|
-
assert
|
|
119
|
-
assert "Ellipsis" not in
|
|
120
|
-
assert
|
|
104
|
+
assert parse_with_state("abc") == parse_with_state("abc", "sys")
|
|
105
|
+
assert parse_with_state("abc", "file")
|
|
106
|
+
assert parse_with_state("abc", "package")
|
|
107
|
+
assert parse_with_state("abc", "block") == "abc\n" == parse_with_state("abc", "single")
|
|
108
|
+
assert parse_with_state("abc", "eval") == "abc" == parse_with_state(" abc", "eval")
|
|
109
|
+
assert parse_with_state("abc", "lenient") == "abc" == parse_with_state(" abc", "lenient")
|
|
110
|
+
assert parse_with_state("x |> map$(f)", "lenient") == "(map)(f, x)"
|
|
111
|
+
assert "_coconut" not in parse_with_state("a |> .b |> .m() |> f$(x) |> .[0]", "block")
|
|
112
|
+
assert "_coconut" not in parse_with_state("a |>= f$(x)", "block")
|
|
113
|
+
assert parse_with_state("abc # derp", "lenient") == "abc # derp"
|
|
114
|
+
assert parse_with_state("def f(x):\n \t pass")
|
|
115
|
+
assert parse_with_state("lambda x: x")
|
|
116
|
+
assert parse_with_state("u''")
|
|
117
|
+
assert parse_with_state("def f(x):\\\n pass")
|
|
118
|
+
assert parse_with_state("abc ")
|
|
119
|
+
assert parse_with_state("abc # derp", "lenient") == "abc # derp"
|
|
120
|
+
assert "==" not in parse_with_state("None = None")
|
|
121
|
+
assert parse_with_state("(1\f+\f2)", "lenient") == "(1 + 2)" == parse_with_state("(1\f+\f2)", "eval")
|
|
122
|
+
assert "Ellipsis" not in parse_with_state("x: ... = 1")
|
|
123
|
+
assert parse_with_state("linebreaks = '\x0b\x0c\x1c\x1d\x1e'")
|
|
121
124
|
|
|
122
125
|
# things that don't parse correctly without the computation graph
|
|
123
126
|
if USE_COMPUTATION_GRAPH:
|
|
124
|
-
exec(
|
|
125
|
-
|
|
126
|
-
assert_raises(->
|
|
127
|
-
assert_raises(->
|
|
128
|
-
assert_raises(->
|
|
129
|
-
|
|
130
|
-
assert_raises(->
|
|
131
|
-
assert_raises(->
|
|
132
|
-
assert_raises(->
|
|
133
|
-
assert_raises(->
|
|
134
|
-
assert_raises(->
|
|
135
|
-
assert_raises(->
|
|
136
|
-
assert_raises(->
|
|
137
|
-
assert_raises(->
|
|
138
|
-
assert_raises(->
|
|
139
|
-
assert_raises(->
|
|
140
|
-
assert_raises(->
|
|
141
|
-
assert_raises(->
|
|
142
|
-
assert_raises(->
|
|
143
|
-
assert_raises(->
|
|
144
|
-
assert_raises(->
|
|
145
|
-
assert_raises(->
|
|
146
|
-
assert_raises(->
|
|
147
|
-
assert_raises(->
|
|
148
|
-
assert_raises(->
|
|
149
|
-
assert_raises(->
|
|
150
|
-
|
|
151
|
-
assert_raises(->
|
|
127
|
+
exec(parse_with_state("assert (1,2,3,4) == ([1, 2], [3, 4]) |*> def (x, y) -> *x, *y"), {})
|
|
128
|
+
|
|
129
|
+
assert_raises(-> parse_with_state("(a := b)"), CoconutTargetError)
|
|
130
|
+
assert_raises(-> parse_with_state("async def f() = 1"), CoconutTargetError)
|
|
131
|
+
assert_raises(-> parse_with_state("exec = 1"), CoconutTargetError)
|
|
132
|
+
|
|
133
|
+
assert_raises(-> parse_with_state(" abc", "file"), CoconutSyntaxError)
|
|
134
|
+
assert_raises(-> parse_with_state("'"), CoconutSyntaxError)
|
|
135
|
+
assert_raises(-> parse_with_state("("), CoconutSyntaxError)
|
|
136
|
+
assert_raises(-> parse_with_state("\\("), CoconutSyntaxError)
|
|
137
|
+
assert_raises(-> parse_with_state("if a:\n b\n c"), CoconutSyntaxError)
|
|
138
|
+
assert_raises(-> parse_with_state("_coconut"), CoconutSyntaxError)
|
|
139
|
+
assert_raises(-> parse_with_state("[; ;]"), CoconutSyntaxError)
|
|
140
|
+
assert_raises(-> parse_with_state("[; ;; ;]"), CoconutSyntaxError)
|
|
141
|
+
assert_raises(-> parse_with_state("[; ; ;;]"), CoconutSyntaxError)
|
|
142
|
+
assert_raises(-> parse_with_state("[[] ;;; ;; [] ;]"), CoconutSyntaxError)
|
|
143
|
+
assert_raises(-> parse_with_state("[; []]"), CoconutSyntaxError)
|
|
144
|
+
assert_raises(-> parse_with_state("f$()"), CoconutSyntaxError)
|
|
145
|
+
assert_raises(-> parse_with_state("f(**x, y)"), CoconutSyntaxError)
|
|
146
|
+
assert_raises(-> parse_with_state("def f(x) = return x"), CoconutSyntaxError)
|
|
147
|
+
assert_raises(-> parse_with_state("def f(x) =\n return x"), CoconutSyntaxError)
|
|
148
|
+
assert_raises(-> parse_with_state("10 20"), CoconutSyntaxError)
|
|
149
|
+
assert_raises(-> parse_with_state('x + "1" + (=="2") = "test"'), CoconutSyntaxError)
|
|
150
|
+
assert_raises(-> parse_with_state('(==x) + "1" + y = "test"'), CoconutSyntaxError)
|
|
151
|
+
assert_raises(-> parse_with_state(r'd"\n hello"'), CoconutSyntaxError)
|
|
152
|
+
assert_raises(-> parse_with_state('d""" hello"""'), CoconutSyntaxError)
|
|
153
|
+
|
|
154
|
+
assert_raises(-> parse_with_state("()[(())"), CoconutSyntaxError, err_has="""
|
|
152
155
|
unclosed open '[' (line 1)
|
|
153
156
|
()[(())
|
|
154
157
|
^
|
|
155
158
|
""".strip())
|
|
156
|
-
assert_raises(->
|
|
159
|
+
assert_raises(-> parse_with_state("{}(([])"), CoconutSyntaxError, err_has="""
|
|
157
160
|
unclosed open '(' (line 1)
|
|
158
161
|
{}(([])
|
|
159
162
|
^
|
|
160
163
|
""".strip())
|
|
161
|
-
assert_raises(->
|
|
164
|
+
assert_raises(-> parse_with_state("{[]{}}}()"), CoconutSyntaxError, err_has="""
|
|
162
165
|
unmatched close '}' (line 1)
|
|
163
166
|
{[]{}}}()
|
|
164
167
|
^
|
|
165
168
|
""".strip())
|
|
166
|
-
assert_raises(->
|
|
169
|
+
assert_raises(-> parse_with_state("[([){[}"), CoconutSyntaxError, err_has="""
|
|
167
170
|
mismatched open '[' and close ')' (line 1)
|
|
168
171
|
[([){[}
|
|
169
172
|
~^
|
|
170
173
|
""".strip())
|
|
171
|
-
assert_raises(->
|
|
174
|
+
assert_raises(-> parse_with_state("[())]"), CoconutSyntaxError, err_has=r"""
|
|
172
175
|
mismatched open '[' and close ')' (line 1)
|
|
173
176
|
[())]
|
|
174
177
|
\~~^
|
|
175
178
|
""".strip())
|
|
176
|
-
assert_raises(->
|
|
179
|
+
assert_raises(-> parse_with_state("[[\n])"), CoconutSyntaxError, err_has="""
|
|
177
180
|
mismatched open '[' and close ')' (line 1)
|
|
178
181
|
])
|
|
179
182
|
^
|
|
180
183
|
""".strip())
|
|
181
|
-
assert_raises(->
|
|
184
|
+
assert_raises(-> parse_with_state(d"""
|
|
182
185
|
a = 1
|
|
183
186
|
b = f"{1+}"
|
|
184
187
|
c = 3
|
|
@@ -188,30 +191,30 @@ parsing failed for format string expression: 1+ (line 2)
|
|
|
188
191
|
^
|
|
189
192
|
""".strip())
|
|
190
193
|
|
|
191
|
-
assert_raises(->
|
|
194
|
+
assert_raises(-> parse_with_state(d"""
|
|
192
195
|
case def f[T]:
|
|
193
196
|
case(x) = x
|
|
194
197
|
"""), CoconutSyntaxError)
|
|
195
|
-
assert_raises(->
|
|
198
|
+
assert_raises(-> parse_with_state(d"""
|
|
196
199
|
case def f[T]:
|
|
197
200
|
type(x: T) -> T
|
|
198
201
|
"""), CoconutSyntaxError)
|
|
199
202
|
|
|
200
|
-
assert_raises(->
|
|
201
|
-
assert_raises(->
|
|
202
|
-
assert_raises(->
|
|
203
|
-
assert_raises(->
|
|
204
|
-
assert_raises(->
|
|
205
|
-
assert_raises(->
|
|
206
|
-
assert_raises(->
|
|
207
|
-
assert_raises(->
|
|
208
|
-
assert_raises(->
|
|
209
|
-
assert_raises(->
|
|
203
|
+
assert_raises(-> parse_with_state("(|*?>)"), CoconutSyntaxError, err_has="'|?*>'")
|
|
204
|
+
assert_raises(-> parse_with_state("(|**?>)"), CoconutSyntaxError, err_has="'|?**>'")
|
|
205
|
+
assert_raises(-> parse_with_state("(<?*|)"), CoconutSyntaxError, err_has="'<*?|'")
|
|
206
|
+
assert_raises(-> parse_with_state("(<?**|)"), CoconutSyntaxError, err_has="'<**?|'")
|
|
207
|
+
assert_raises(-> parse_with_state("(..*?>)"), CoconutSyntaxError, err_has="'..?*>'")
|
|
208
|
+
assert_raises(-> parse_with_state("(..**?>)"), CoconutSyntaxError, err_has="'..?**>'")
|
|
209
|
+
assert_raises(-> parse_with_state("(<?*..)"), CoconutSyntaxError, err_has="'<*?..'")
|
|
210
|
+
assert_raises(-> parse_with_state("(<?**..)"), CoconutSyntaxError, err_has="'<**?..'")
|
|
211
|
+
assert_raises(-> parse_with_state("(.+1) .. x -> x * 2"), CoconutSyntaxError, err_has="<..")
|
|
212
|
+
assert_raises(-> parse_with_state('f"Black holes {*all_black_holes} and revelations"'), CoconutSyntaxError, err_has="format string")
|
|
210
213
|
assert_raises(-> parse("operator ++\noperator ++"), CoconutSyntaxError, err_has="custom operator already declared")
|
|
211
|
-
assert_raises(->
|
|
214
|
+
assert_raises(-> parse_with_state("type HasIn = (in)"), CoconutSyntaxError, err_has="not supported")
|
|
212
215
|
|
|
213
216
|
assert_raises(
|
|
214
|
-
->
|
|
217
|
+
-> parse_with_state("type abc[T,T] = T | T"),
|
|
215
218
|
CoconutSyntaxError,
|
|
216
219
|
err_has=r"""
|
|
217
220
|
cannot reassign type variable 'T' (use explicit '\T' syntax if intended) (line 1)
|
|
@@ -220,24 +223,24 @@ cannot reassign type variable 'T' (use explicit '\T' syntax if intended) (line 1
|
|
|
220
223
|
""".strip(),
|
|
221
224
|
)
|
|
222
225
|
|
|
223
|
-
assert_raises(->
|
|
224
|
-
assert_raises(->
|
|
225
|
-
assert_raises(->
|
|
226
|
+
assert_raises(-> parse_with_state("$"), CoconutParseError)
|
|
227
|
+
assert_raises(-> parse_with_state("@"), CoconutParseError)
|
|
228
|
+
assert_raises(-> parse_with_state("range(1,10) |> reduce$(*, initializer = 1000) |> print"), CoconutParseError, err_has=(
|
|
226
229
|
"\n \\~~^",
|
|
227
230
|
"\n \\~~~~~~~~~~~~~~~~~~~~~~~^",
|
|
228
231
|
) + (
|
|
229
232
|
("\n \\~~~~~~~~~~~~^",)
|
|
230
233
|
if PYPY else ()
|
|
231
234
|
))
|
|
232
|
-
assert_raises(->
|
|
235
|
+
assert_raises(-> parse_with_state("a := b"), CoconutParseError, err_has=(
|
|
233
236
|
"\n ^",
|
|
234
237
|
"\n \\~^",
|
|
235
238
|
))
|
|
236
|
-
assert_raises(->
|
|
239
|
+
assert_raises(-> parse_with_state("1 + return"), CoconutParseError, err_has=(
|
|
237
240
|
"\n \\~~^",
|
|
238
241
|
"\n \\~~~~^",
|
|
239
242
|
))
|
|
240
|
-
assert_raises(->
|
|
243
|
+
assert_raises(-> parse_with_state(d"""
|
|
241
244
|
def f() =
|
|
242
245
|
assert 1
|
|
243
246
|
assert 2
|
|
@@ -252,41 +255,41 @@ cannot reassign type variable 'T' (use explicit '\T' syntax if intended) (line 1
|
|
|
252
255
|
~^
|
|
253
256
|
""".strip(),
|
|
254
257
|
))
|
|
255
|
-
assert_raises(->
|
|
258
|
+
assert_raises(-> parse_with_state('b"abc" "def"'), CoconutParseError, err_has=(
|
|
256
259
|
"\n ^",
|
|
257
260
|
"\n \\~~~~~~^",
|
|
258
261
|
))
|
|
259
|
-
assert_raises(->
|
|
262
|
+
assert_raises(-> parse_with_state('"abc" b"def"'), CoconutParseError, err_has=(
|
|
260
263
|
"\n ^",
|
|
261
264
|
"\n \\~~~~~^",
|
|
262
265
|
))
|
|
263
|
-
assert_raises(->
|
|
266
|
+
assert_raises(-> parse_with_state("A. ."), CoconutParseError, err_has=(
|
|
264
267
|
"\n \\~^",
|
|
265
268
|
"\n \\~~^",
|
|
266
269
|
))
|
|
267
|
-
assert_raises(->
|
|
270
|
+
assert_raises(-> parse_with_state("f([] {})"), CoconutParseError, err_has=(
|
|
268
271
|
"\n \\~~~^",
|
|
269
272
|
"\n \\~~~~^",
|
|
270
273
|
))
|
|
271
|
-
assert_raises(->
|
|
274
|
+
assert_raises(-> parse_with_state("0xfgf"), CoconutParseError, err_has=(
|
|
272
275
|
"\n ^",
|
|
273
276
|
"\n \\~^",
|
|
274
277
|
"\n \\~~^",
|
|
275
278
|
))
|
|
276
|
-
assert_raises(->
|
|
279
|
+
assert_raises(-> parse_with_state("(. if 1)"), CoconutParseError, err_has=(
|
|
277
280
|
"\n ^",
|
|
278
281
|
"\n \\~~^",
|
|
279
282
|
))
|
|
280
283
|
|
|
281
|
-
assert_raises(->
|
|
284
|
+
assert_raises(-> parse_with_state('''f"""{
|
|
282
285
|
}"""'''), CoconutSyntaxError, err_has="parsing failed for format string expression")
|
|
283
|
-
assert_raises(->
|
|
284
|
-
assert_raises(->
|
|
286
|
+
assert_raises(-> parse_with_state("if a = b: pass"), CoconutParseError, err_has="misplaced assignment")
|
|
287
|
+
assert_raises(-> parse_with_state("while a == b"), CoconutParseError, err_has="misplaced newline")
|
|
285
288
|
# implicit coefficient followed by subscript in list should be a parse error, not internal error
|
|
286
|
-
assert_raises(->
|
|
289
|
+
assert_raises(-> parse_with_state("[(0)foo[0] for _ in [0]]"), CoconutParseError)
|
|
287
290
|
|
|
288
291
|
try:
|
|
289
|
-
|
|
292
|
+
parse_with_state(d"""
|
|
290
293
|
def gam_eps_rate(bitarr) = (
|
|
291
294
|
bitarr
|
|
292
295
|
|*> zip
|
|
@@ -315,7 +318,7 @@ cannot reassign type variable 'T' (use explicit '\T' syntax if intended) (line 1
|
|
|
315
318
|
assert False
|
|
316
319
|
|
|
317
320
|
try:
|
|
318
|
-
|
|
321
|
+
parse_with_state(d"""
|
|
319
322
|
def f(x=1, y) = x, y
|
|
320
323
|
|
|
321
324
|
class A
|
|
@@ -329,27 +332,27 @@ cannot reassign type variable 'T' (use explicit '\T' syntax if intended) (line 1
|
|
|
329
332
|
else:
|
|
330
333
|
assert False
|
|
331
334
|
|
|
332
|
-
assert
|
|
333
|
-
assert "data ABC" not in
|
|
334
|
-
assert "builder" not in
|
|
335
|
-
assert
|
|
336
|
-
assert "builder" in
|
|
337
|
-
assert
|
|
338
|
-
assert "builder" in
|
|
339
|
-
assert
|
|
340
|
-
assert
|
|
341
|
-
|
|
342
|
-
assert_raises(->
|
|
343
|
-
assert_raises(->
|
|
344
|
-
assert_raises(->
|
|
345
|
-
assert_raises(->
|
|
346
|
-
assert_raises(->
|
|
347
|
-
assert_raises(->
|
|
348
|
-
assert_raises(->
|
|
349
|
-
assert_raises(->
|
|
350
|
-
assert_raises(->
|
|
351
|
-
assert_raises(->
|
|
352
|
-
assert_raises(->
|
|
335
|
+
assert parse_with_state("def f(x):\n ${var}", "xonsh") == "def f(x):\n ${var}\n"
|
|
336
|
+
assert "data ABC" not in parse_with_state("data ABC:\n ${var}", "xonsh")
|
|
337
|
+
assert "builder" not in parse_with_state("def x -> x", "lenient")
|
|
338
|
+
assert parse_with_state("def x -> x", "lenient").count("def") == 1
|
|
339
|
+
assert "builder" in parse_with_state("x -> def y -> (x, y)", "lenient")
|
|
340
|
+
assert parse_with_state("x -> def y -> (x, y)", "lenient").count("def") == 2
|
|
341
|
+
assert "builder" in parse_with_state("[def x -> (x, y) for y in range(10)]", "lenient")
|
|
342
|
+
assert parse_with_state("[def x -> (x, y) for y in range(10)]", "lenient").count("def") == 2
|
|
343
|
+
assert parse_with_state("123 # derp", "lenient") == "123 # derp"
|
|
344
|
+
|
|
345
|
+
assert_raises(-> parse_with_state("final x = 1\nx = 2"), CoconutSyntaxError, err_has="final")
|
|
346
|
+
assert_raises(-> parse_with_state("final x = 1\nx += 1"), CoconutSyntaxError, err_has="final")
|
|
347
|
+
assert_raises(-> parse_with_state("final x = 1\ndel x"), CoconutSyntaxError, err_has="final")
|
|
348
|
+
assert_raises(-> parse_with_state("final x = 1\nfor x in [1]: pass"), CoconutSyntaxError, err_has="final")
|
|
349
|
+
assert_raises(-> parse_with_state("final x = 1\nwith foo() as x: pass"), CoconutSyntaxError, err_has="final")
|
|
350
|
+
assert_raises(-> parse_with_state("final e = 1\ntry: pass\nexcept E as e: pass"), CoconutSyntaxError, err_has="final")
|
|
351
|
+
assert_raises(-> parse_with_state("final os = 1\nimport os"), CoconutSyntaxError, err_has="final")
|
|
352
|
+
assert_raises(-> parse_with_state("final path = 1\nfrom os import path"), CoconutSyntaxError, err_has="final")
|
|
353
|
+
assert_raises(-> parse_with_state("def f(final x): x = 2"), CoconutSyntaxError, err_has="final")
|
|
354
|
+
assert_raises(-> parse_with_state("final x = 1\nmatch y:\n case x: pass"), CoconutSyntaxError, err_has="final")
|
|
355
|
+
assert_raises(-> parse_with_state("final x = 1\nfinal x = 2"), CoconutSyntaxError, err_has="final")
|
|
353
356
|
|
|
354
357
|
return True
|
|
355
358
|
|
|
@@ -364,12 +367,12 @@ def test_api() -> bool:
|
|
|
364
367
|
assert_raises(-> cmd("-n . ."), SystemExit)
|
|
365
368
|
|
|
366
369
|
setup()
|
|
367
|
-
assert
|
|
370
|
+
assert parse_with_state("abc", "lenient") == "abc #1 (line in Coconut source)"
|
|
368
371
|
setup(line_numbers=False, keep_lines=True)
|
|
369
|
-
assert
|
|
372
|
+
assert parse_with_state("abc", "lenient") == "abc # abc"
|
|
370
373
|
setup(keep_lines=True)
|
|
371
|
-
assert
|
|
372
|
-
assert "#6:" in
|
|
374
|
+
assert parse_with_state("abc", "lenient") == "abc #1: abc"
|
|
375
|
+
assert "#6:" in parse_with_state('''line 1
|
|
373
376
|
f"""{"""
|
|
374
377
|
"""}""" + """
|
|
375
378
|
""" + f"""{\'\'\'
|
|
@@ -377,24 +380,24 @@ f"""{"""
|
|
|
377
380
|
line 6''')
|
|
378
381
|
|
|
379
382
|
setup(line_numbers=False)
|
|
380
|
-
assert "Deprecated Coconut built-in 'prepattern' disabled by --strict compilation" not in
|
|
381
|
-
assert "Deprecated Coconut built-in 'datamaker' disabled by --strict compilation" not in
|
|
382
|
-
assert "Deprecated Coconut built-in 'of' disabled by --strict compilation" not in
|
|
383
|
+
assert "Deprecated Coconut built-in 'prepattern' disabled by --strict compilation" not in parse_with_state("\n", mode="file")
|
|
384
|
+
assert "Deprecated Coconut built-in 'datamaker' disabled by --strict compilation" not in parse_with_state("\n", mode="file")
|
|
385
|
+
assert "Deprecated Coconut built-in 'of' disabled by --strict compilation" not in parse_with_state("\n", mode="file")
|
|
383
386
|
|
|
384
387
|
setup(line_numbers=False, strict=True)
|
|
385
|
-
assert "Deprecated Coconut built-in 'prepattern' disabled by --strict compilation" in
|
|
386
|
-
assert "Deprecated Coconut built-in 'datamaker' disabled by --strict compilation" in
|
|
387
|
-
assert "Deprecated Coconut built-in 'of' disabled by --strict compilation" in
|
|
388
|
-
|
|
389
|
-
assert_raises(->
|
|
390
|
-
assert_raises(->
|
|
391
|
-
assert_raises(->
|
|
392
|
-
assert_raises(->
|
|
393
|
-
assert_raises(->
|
|
394
|
-
assert_raises(->
|
|
395
|
-
assert_raises(->
|
|
396
|
-
assert_raises(->
|
|
397
|
-
assert_raises(->
|
|
388
|
+
assert "Deprecated Coconut built-in 'prepattern' disabled by --strict compilation" in parse_with_state("\n", mode="file")
|
|
389
|
+
assert "Deprecated Coconut built-in 'datamaker' disabled by --strict compilation" in parse_with_state("\n", mode="file")
|
|
390
|
+
assert "Deprecated Coconut built-in 'of' disabled by --strict compilation" in parse_with_state("\n", mode="file")
|
|
391
|
+
|
|
392
|
+
assert_raises(-> parse_with_state("def f(x):\n \t pass"), CoconutStyleError)
|
|
393
|
+
assert_raises(-> parse_with_state("lambda x: x"), CoconutStyleError)
|
|
394
|
+
assert_raises(-> parse_with_state("u''"), CoconutStyleError)
|
|
395
|
+
assert_raises(-> parse_with_state("def f(x):\\\n pass"), CoconutStyleError)
|
|
396
|
+
assert_raises(-> parse_with_state("abc "), CoconutStyleError, err_has="\n ^")
|
|
397
|
+
assert_raises(-> parse_with_state("abc", "file"), CoconutStyleError)
|
|
398
|
+
assert_raises(-> parse_with_state("class derp(object)"), CoconutStyleError)
|
|
399
|
+
assert_raises(-> parse_with_state("def f(a.b) = True"), CoconutStyleError, err_has="\n ^")
|
|
400
|
+
assert_raises(-> parse_with_state("match def kwd_only_x_is_int_def_0(*, x is int = 0) = x"), CoconutStyleError, err_has=(
|
|
398
401
|
"\n ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|",
|
|
399
402
|
"\n ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~/",
|
|
400
403
|
) + (
|
|
@@ -402,7 +405,7 @@ line 6''')
|
|
|
402
405
|
if PYPY else ()
|
|
403
406
|
))
|
|
404
407
|
try:
|
|
405
|
-
|
|
408
|
+
parse_with_state(d"""
|
|
406
409
|
try:
|
|
407
410
|
x is int is str = x
|
|
408
411
|
except MatchError:
|
|
@@ -413,13 +416,13 @@ line 6''')
|
|
|
413
416
|
except CoconutStyleError as err:
|
|
414
417
|
assert str(err).startswith("""found deprecated isinstance-checking 'x is int is str' pattern; rewrite to use class patterns (try 'int(x) and str(x)') or explicit isinstance-checking ('x `isinstance` int and x `isinstance` str' should always work) (remove --strict to downgrade to a warning) (line 2)
|
|
415
418
|
x is int is str = x"""), err
|
|
416
|
-
assert_raises(->
|
|
419
|
+
assert_raises(-> parse_with_state("""case x:
|
|
417
420
|
match x:
|
|
418
421
|
pass"""), CoconutStyleError, err_has="case x:")
|
|
419
|
-
assert_raises(->
|
|
420
|
-
assert_raises(->
|
|
421
|
-
assert_raises(->
|
|
422
|
-
assert_raises(->
|
|
422
|
+
assert_raises(-> parse_with_state("obj."), CoconutStyleError, err_has="getattr")
|
|
423
|
+
assert_raises(-> parse_with_state("def x -> pass, 1"), CoconutStyleError, err_has="statement lambda")
|
|
424
|
+
assert_raises(-> parse_with_state("abc = f'abc'"), CoconutStyleError, err_has="\n ^")
|
|
425
|
+
assert_raises(-> parse_with_state('f"{f"{f"infinite"}"}"'), CoconutStyleError, err_has="f-string with no expressions")
|
|
423
426
|
try:
|
|
424
427
|
parse(d"""
|
|
425
428
|
import abc
|
|
@@ -437,10 +440,10 @@ line 6''')
|
|
|
437
440
|
3
|
|
438
441
|
""")
|
|
439
442
|
except CoconutStyleError as err:
|
|
440
|
-
assert str(err) == """found undefined name 'x' (add '# NOQA' to suppress) (remove --strict to downgrade to a warning) (line 2)
|
|
443
|
+
assert str(err) == """found undefined name 'x' (use explicit '\\x' syntax to bypass) (add '# NOQA' to suppress) (remove --strict to downgrade to a warning) (line 2)
|
|
441
444
|
2 + x
|
|
442
445
|
^"""
|
|
443
|
-
assert_raises(->
|
|
446
|
+
assert_raises(-> parse_with_state(d"""
|
|
444
447
|
class A(object):
|
|
445
448
|
1
|
|
446
449
|
2
|
|
@@ -458,34 +461,61 @@ line 6''')
|
|
|
458
461
|
14
|
|
459
462
|
15
|
|
460
463
|
"""), CoconutStyleError, **(dict(err_has="\n ...\n") if not PYPY else {}))
|
|
461
|
-
assert_raises(->
|
|
464
|
+
assert_raises(-> parse_with_state('["abc", "def" "ghi"]'), CoconutStyleError, err_has="implicit string concatenation")
|
|
465
|
+
|
|
466
|
+
# scope-aware undefined name tests
|
|
467
|
+
assert_raises(-> parse("abc"), CoconutStyleError, err_has="undefined name")
|
|
468
|
+
assert_raises(-> parse(d"""
|
|
469
|
+
def f():
|
|
470
|
+
x = 1
|
|
471
|
+
y = x
|
|
472
|
+
"""), CoconutStyleError, err_has="undefined name")
|
|
473
|
+
assert_raises(-> parse(d"""
|
|
474
|
+
def f():
|
|
475
|
+
x = 1
|
|
476
|
+
def g():
|
|
477
|
+
y = x
|
|
478
|
+
"""), CoconutStyleError, err_has="undefined name")
|
|
479
|
+
assert parse(d"""
|
|
480
|
+
x = 1
|
|
481
|
+
def f():
|
|
482
|
+
y = x
|
|
483
|
+
""")
|
|
484
|
+
assert parse(d"""
|
|
485
|
+
x = 1
|
|
486
|
+
y = x
|
|
487
|
+
""")
|
|
488
|
+
assert parse(d"""
|
|
489
|
+
import abc
|
|
490
|
+
abc.ABCMeta
|
|
491
|
+
""")
|
|
462
492
|
|
|
463
493
|
# imported name shadowing tests
|
|
464
494
|
assert_raises(-> parse(d"""
|
|
465
495
|
import abc
|
|
466
496
|
abc: int = 1
|
|
467
|
-
"""), CoconutStyleError, err_has="shadows
|
|
497
|
+
"""), CoconutStyleError, err_has="shadows import")
|
|
468
498
|
assert_raises(-> parse(d"""
|
|
469
499
|
from os import path
|
|
470
500
|
path = 'test'
|
|
471
|
-
"""), CoconutStyleError, err_has="shadows
|
|
501
|
+
"""), CoconutStyleError, err_has="shadows import")
|
|
472
502
|
assert_raises(-> parse(d"""
|
|
473
503
|
from collections import OrderedDict
|
|
474
504
|
def OrderedDict() = None
|
|
475
|
-
"""), CoconutStyleError, err_has="shadows
|
|
505
|
+
"""), CoconutStyleError, err_has="shadows import")
|
|
476
506
|
assert_raises(-> parse(d"""
|
|
477
507
|
import abc
|
|
478
508
|
class abc:
|
|
479
509
|
pass
|
|
480
|
-
"""), CoconutStyleError, err_has="shadows
|
|
510
|
+
"""), CoconutStyleError, err_has="shadows import")
|
|
481
511
|
assert_raises(-> parse(d"""
|
|
482
512
|
from os import path
|
|
483
513
|
[path for path in []]
|
|
484
|
-
"""), CoconutStyleError, err_has="shadows
|
|
514
|
+
"""), CoconutStyleError, err_has="shadows import")
|
|
485
515
|
assert_raises(-> parse(d"""
|
|
486
516
|
import abc
|
|
487
517
|
final abc = 1
|
|
488
|
-
"""), CoconutStyleError, err_has="shadows
|
|
518
|
+
"""), CoconutStyleError, err_has="shadows import")
|
|
489
519
|
# class attribute shadowing should be allowed (not module-level shadowing)
|
|
490
520
|
# (use NOQA to suppress unused import warning since we're intentionally shadowing)
|
|
491
521
|
assert parse(d"""
|
|
@@ -505,7 +535,7 @@ line 6''')
|
|
|
505
535
|
class Foo:
|
|
506
536
|
def bar(self):
|
|
507
537
|
abc = 1
|
|
508
|
-
"""), CoconutStyleError, err_has="shadows
|
|
538
|
+
"""), CoconutStyleError, err_has="shadows import")
|
|
509
539
|
assert_raises(-> parse(d"""
|
|
510
540
|
class Foo:
|
|
511
541
|
def bar(self):
|
|
@@ -549,7 +579,7 @@ line 6''')
|
|
|
549
579
|
def foo(self):
|
|
550
580
|
class abc:
|
|
551
581
|
pass
|
|
552
|
-
"""), CoconutStyleError, err_has="shadows
|
|
582
|
+
"""), CoconutStyleError, err_has="shadows import")
|
|
553
583
|
# deeply nested: class inside class inside method - no error because super is a class attribute of B
|
|
554
584
|
assert parse(d"""
|
|
555
585
|
class A:
|
|
@@ -568,7 +598,7 @@ line 6''')
|
|
|
568
598
|
"""), CoconutStyleError, err_has="shadows builtin")
|
|
569
599
|
|
|
570
600
|
setup(line_numbers=False, strict=True, target="sys")
|
|
571
|
-
assert_raises(->
|
|
601
|
+
assert_raises(-> parse_with_state("await f x"), CoconutParseError)
|
|
572
602
|
|
|
573
603
|
# pure tests
|
|
574
604
|
setup(line_numbers=False, strict=True, pure=True, target="sys")
|
{coconut_develop-3.2.0.post0.dev14.dist-info → coconut_develop-3.2.0.post0.dev16.dist-info}/METADATA
RENAMED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: coconut-develop
|
|
3
|
-
Version: 3.2.0.post0.
|
|
3
|
+
Version: 3.2.0.post0.dev16
|
|
4
4
|
Summary: Simple, elegant, Pythonic functional programming.
|
|
5
5
|
Home-page: http://coconut-lang.org
|
|
6
6
|
Author: Evan Hubinger
|
|
7
7
|
Author-email: evanjhub@gmail.com
|
|
8
8
|
License: Apache-2.0
|
|
9
|
-
Keywords: functional,programming,language,compiler,pattern,pattern-matching,algebraic,data type,data types,lambda,lambdas,evaluation,lazy list,lazy lists,tail,recursion,call,recursive,recursive_iterator,infix,function,composition,compose,partial,application,currying,curry,pipeline,pipe,unicode,operator,operators,frozenset,literal,syntax,destructuring,assignment,fold,datamaker,prepattern,iterator,generator,none,coalesce,coalescing,statement,lru_cache,memoization,backport,typing,embed,PEP 622,overrides,islice,itertools,functools,TYPE_CHECKING,Expected,breakpoint,help,reduce,takewhile,dropwhile,tee,count,makedata,consume,process_map,thread_map,addpattern,recursive_generator,fmap,starmap,reiterable,scan,groupsof,memoize,zip_longest,override,flatten,ident,call,safe_call,flip,const,lift,lift_apart,all_equal,collectby,mapreduce,multi_enumerate,cartesian_product,multiset,cycle,windowsof,and_then,and_then_await,async_map,py_chr,py_dict,py_hex,py_input,py_int,py_map,py_object,py_oct,py_open,py_print,py_range,py_str,py_super,py_zip,py_filter,py_reversed,py_enumerate,py_raw_input,py_xrange,py_repr,py_breakpoint,py_min,py_max,_namedtuple_of,reveal_type,reveal_locals,MatchError,CoconutWarning,__fmap__,__iter_getitem__,data,match,case,cases,where,final,addpattern,then,operator,type,copyclosure,lazy,λ
|
|
9
|
+
Keywords: functional,programming,language,compiler,pattern,pattern-matching,algebraic,data type,data types,lambda,lambdas,evaluation,lazy list,lazy lists,tail,recursion,call,recursive,recursive_iterator,infix,function,composition,compose,partial,application,currying,curry,pipeline,pipe,unicode,operator,operators,frozenset,literal,syntax,destructuring,assignment,fold,datamaker,prepattern,iterator,generator,none,coalesce,coalescing,statement,lru_cache,memoization,backport,typing,embed,PEP 622,overrides,islice,itertools,functools,TYPE_CHECKING,Expected,breakpoint,help,reduce,takewhile,dropwhile,tee,count,makedata,consume,process_map,thread_map,addpattern,recursive_generator,fmap,starmap,reiterable,scan,groupsof,memoize,zip_longest,override,flatten,ident,call,safe_call,flip,const,lift,lift_apart,all_equal,collectby,mapreduce,multi_enumerate,cartesian_product,multiset,cycle,windowsof,and_then,and_then_await,async_map,py_bytes,py_chr,py_dict,py_hex,py_input,py_int,py_map,py_object,py_oct,py_open,py_print,py_range,py_str,py_super,py_zip,py_filter,py_reversed,py_enumerate,py_raw_input,py_xrange,py_repr,py_breakpoint,py_min,py_max,_namedtuple_of,reveal_type,reveal_locals,MatchError,CoconutWarning,__fmap__,__iter_getitem__,data,match,case,cases,where,final,addpattern,then,operator,type,copyclosure,lazy,λ
|
|
10
10
|
Classifier: Development Status :: 5 - Production/Stable
|
|
11
11
|
Classifier: Intended Audience :: Developers
|
|
12
12
|
Classifier: Topic :: Software Development
|
{coconut_develop-3.2.0.post0.dev14.dist-info → coconut_develop-3.2.0.post0.dev16.dist-info}/RECORD
RENAMED
|
@@ -9,10 +9,10 @@ coconut/__coconut__.pyi,sha256=wJd2H3G8P5uXQ26sxRVkaDzgXD45InF2TWoHQZnL0co,1996
|
|
|
9
9
|
coconut/__init__.py,sha256=Tgc_q3C2xoalqG0y0c1Ar0-_LvuCxHApayeS-EFjb5Y,1444
|
|
10
10
|
coconut/__init__.pyi,sha256=cVp1sBnKj4iMW7gPjTpQAsvHBWovxBxOkhvbfs9ISks,956
|
|
11
11
|
coconut/__main__.py,sha256=HRjmZF8THeNM4B0Zv-buwKZaRkbj_895BxnYmIO5HKw,1210
|
|
12
|
-
coconut/_pyparsing.py,sha256=
|
|
13
|
-
coconut/api.py,sha256=
|
|
14
|
-
coconut/api.pyi,sha256=
|
|
15
|
-
coconut/constants.py,sha256=
|
|
12
|
+
coconut/_pyparsing.py,sha256=HrHlCL4dNdljV_7MZa9QC4OIreBG8jPEK9lBmb0je2o,20652
|
|
13
|
+
coconut/api.py,sha256=uuNgCf7BtPq2_YuDPbYbDJjOhV3uPjQBjed4CeRkmZ4,13496
|
|
14
|
+
coconut/api.pyi,sha256=5S0Lw49VVbHP0Q3QWJ4i6brjiEdKQpj6P5KCoOmb-sw,4305
|
|
15
|
+
coconut/constants.py,sha256=jw6e4dOSvQtIAHA3pGNLFTESXKPMD6hZPoXWmTPOOvk,41995
|
|
16
16
|
coconut/convenience.py,sha256=xKFUKIsN__UchCDF2YsiQO84rqDT9RuhRgYRgfFNV2E,772
|
|
17
17
|
coconut/convenience.pyi,sha256=1dRwNNX_xJs5aqcTfSAB7nQDbikS_ETXfcaHA3jmX3w,630
|
|
18
18
|
coconut/exceptions.py,sha256=ZK0QehvuFGorcQ-MOT5FetxTyqYPM1D87SrzcqV3bQ8,12047
|
|
@@ -21,7 +21,7 @@ coconut/integrations.py,sha256=AVKOcSi4YVU61gck7qGecDoh8116ojes5OGsEwbI2ek,9557
|
|
|
21
21
|
coconut/main.py,sha256=XIMgwLz6saueTr_mQMyfSHu7fNDYljFu-fSNwpeL7WI,1543
|
|
22
22
|
coconut/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
23
23
|
coconut/requirements.py,sha256=lUghlq3vTRSkOj6KdYLs-BhLDSC8dN2j-3LfNAp8Eb0,11964
|
|
24
|
-
coconut/root.py,sha256=
|
|
24
|
+
coconut/root.py,sha256=KLkdlepFXBFF1VgGhQvrno0bhYHFqBJKx0NECoTvXYo,22206
|
|
25
25
|
coconut/terminal.py,sha256=c8ksz2534dd8zo3TUXtd2ef3wCWzm4E9fg_SzdKFWJY,24960
|
|
26
26
|
coconut/util.py,sha256=8TKGRD5EVM2TdPOU7swaAcQkVqGH15inIwZwlSLpIMs,16158
|
|
27
27
|
coconut/command/__init__.py,sha256=kMDyBp9UlrQ58DpCyPfd0Gs4cf8hMXLn-D-fFdI8Ego,778
|
|
@@ -34,8 +34,8 @@ coconut/command/util.py,sha256=XHEmeEzeH-9Lqu6CUYiROVVKlj4SbqbE-SO_wCc1OLY,30812
|
|
|
34
34
|
coconut/command/watch.py,sha256=8AQKdY34aw1dXZC0OX80cHUYWe8i7Utivq2ZbXJh56s,2996
|
|
35
35
|
coconut/command/resources/zcoconut.pth,sha256=vUZ-4iIgG5NEHsosUnBm68aJW5QXQcVj-gSxMjm52Ig,19
|
|
36
36
|
coconut/compiler/__init__.py,sha256=QVBYogYgp8XjHEjgEl4mP_7gl5kunFoTimjpQVmxB5M,781
|
|
37
|
-
coconut/compiler/compiler.py,sha256=
|
|
38
|
-
coconut/compiler/grammar.py,sha256=
|
|
37
|
+
coconut/compiler/compiler.py,sha256=m2TI1z-N6OBj9av6FNzOWFDTtCN-bxFA7txRIzb4j6Y,266421
|
|
38
|
+
coconut/compiler/grammar.py,sha256=ip2PpbcgOeFCVVNDuBVT8M23ziJ7HlTqigmBMhvOv3Q,117415
|
|
39
39
|
coconut/compiler/header.py,sha256=mC66x-uCZPV6XFWPuLchcD1kvdkg1RQfhveBIzFReOk,40948
|
|
40
40
|
coconut/compiler/matching.py,sha256=VskeNUaX00pnDX2R8CsFDJS8ebMdL0ynm3lLwq6C5KQ,63865
|
|
41
41
|
coconut/compiler/util.py,sha256=bL6XbBEp_8l9b8NwuTrZuYnP0Hjwoenh2L8PYWrckcg,83007
|
|
@@ -52,14 +52,14 @@ coconut/tests/__init__.py,sha256=zg9y1ESO6lxs67Mc5W_BxokX0sypHn-BSo75mFBnjxM,786
|
|
|
52
52
|
coconut/tests/__main__.py,sha256=_1Kp3qFNnxYJ9Zuqi_Za1BvfeCsMBTVpqWBFMQiH3RQ,1942
|
|
53
53
|
coconut/tests/constants_test.py,sha256=nXATCon9HtDWj9iy3vo9G_DKuuPKH2cd6_R8UFZ4Qf4,5717
|
|
54
54
|
coconut/tests/main_test.py,sha256=v1NhV-z73eKBleqEHkjXHiMtJgbAr6V4ejbENa-iEEU,38302
|
|
55
|
-
coconut/tests/src/extras.coco,sha256=
|
|
55
|
+
coconut/tests/src/extras.coco,sha256=XrNK7QhNHn4mvvhWmjwK78EaEUqT9gKWJG47qI0Z7gQ,38412
|
|
56
56
|
coconut/tests/src/importable.coco,sha256=6Jh5UK0IGiSlgmGjw-DA2S4l7Db_vb33vq2D32PFaoc,342
|
|
57
57
|
coconut/tests/src/runnable.coco,sha256=CitQ8zA9Z9Fsgh6KOGqcUG5TvTZNYXgFfVJFsMYol9o,323
|
|
58
58
|
coconut/tests/src/runner.coco,sha256=AZDnsNcBo9xOGmhhpm_Ldb37ktgBWeGmD4lSEbOY3dA,243
|
|
59
59
|
coconut/tests/src/cocotest/agnostic/__init__.coco,sha256=jV4Tdy9axrpZ0PNSFwPrySvGAhW0UfPoYZhErTorFYU,87
|
|
60
60
|
coconut/tests/src/cocotest/agnostic/__main__.coco,sha256=ggnnoZ0YNR3Hu9dwp2PFxuPf8zNbST7oc2QOPbsq_Bw,447
|
|
61
61
|
coconut/tests/src/cocotest/agnostic/main.coco,sha256=DrNGFI_W7Tgoj0dvW6OPFXpTS4L9V1tMYqceyeT3KRQ,4543
|
|
62
|
-
coconut/tests/src/cocotest/agnostic/primary_1.coco,sha256=
|
|
62
|
+
coconut/tests/src/cocotest/agnostic/primary_1.coco,sha256=IRLL8BdVNrDU-crKehvOfpCBpQKJwoXxxmb-qujMMtw,51200
|
|
63
63
|
coconut/tests/src/cocotest/agnostic/primary_2.coco,sha256=sEi99krUbKdKO_zDQlMS4N1cPxg7UnFHM5BeHkcMaqE,30419
|
|
64
64
|
coconut/tests/src/cocotest/agnostic/specific.coco,sha256=VIkzqci8LCScK4uBHNldi30hI2SpYRNUxo6tqmfo51g,8593
|
|
65
65
|
coconut/tests/src/cocotest/agnostic/suite.coco,sha256=nTRgtAPLEB8RQZXdrXnPkxE98HyaWYmc2Yj_Vhx5zog,44955
|
|
@@ -74,10 +74,10 @@ coconut/tests/src/cocotest/target_35/py35_test.coco,sha256=F1CXTcZ0SI6mS4tLJQUfc
|
|
|
74
74
|
coconut/tests/src/cocotest/target_36/py36_test.coco,sha256=MwOLIFyQ3Pn1CwFJxF4U8lMFBSghiyG5PNnhzPUQx5Y,2131
|
|
75
75
|
coconut/tests/src/cocotest/target_38/py38_test.coco,sha256=VZXxj_ZQLUYehs74-ZQWoWKClBQzXLC0GjV4-VTPrhw,422
|
|
76
76
|
coconut/tests/src/cocotest/target_sys/target_sys_test.coco,sha256=gxqTxUvQ8KYoGAB43-qVkkqYWBJbxBRXVkgtqSuzuzY,5418
|
|
77
|
-
coconut_develop-3.2.0.post0.
|
|
78
|
-
coconut_develop-3.2.0.post0.
|
|
79
|
-
coconut_develop-3.2.0.post0.
|
|
80
|
-
coconut_develop-3.2.0.post0.
|
|
81
|
-
coconut_develop-3.2.0.post0.
|
|
82
|
-
coconut_develop-3.2.0.post0.
|
|
83
|
-
coconut_develop-3.2.0.post0.
|
|
77
|
+
coconut_develop-3.2.0.post0.dev16.data/data/share/jupyter/kernels/coconut/kernel.json,sha256=oFDKNKV69u4ZXjrNCfcsJV2My1pvUkcbujyjJrjE4-A,141
|
|
78
|
+
coconut_develop-3.2.0.post0.dev16.dist-info/licenses/LICENSE.txt,sha256=z8d0m5b2O9McPEK1xHG_dWgUBT6EfBDz6wA0F7xSPTA,11358
|
|
79
|
+
coconut_develop-3.2.0.post0.dev16.dist-info/METADATA,sha256=4GJkg6K38e9oCar1Y-054gFRrw31jLydZ36i1QeF1zs,26617
|
|
80
|
+
coconut_develop-3.2.0.post0.dev16.dist-info/WHEEL,sha256=uC7DnXjtoKy23CNUXRq6ohLsm8FbS2C_ECfYYzqZHVY,109
|
|
81
|
+
coconut_develop-3.2.0.post0.dev16.dist-info/entry_points.txt,sha256=yicohVJ6tG3E2l4PTGbzWlgH8v_v5NWH-h5C5e4Sr34,785
|
|
82
|
+
coconut_develop-3.2.0.post0.dev16.dist-info/top_level.txt,sha256=aN9FfhH2Kq5gFJhAUzcM5Lz0lHuG2gB3Ww3ks6tsTdg,29
|
|
83
|
+
coconut_develop-3.2.0.post0.dev16.dist-info/RECORD,,
|