easycoder 250106.3__py2.py3-none-any.whl → 250106.5__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.
Potentially problematic release.
This version of easycoder might be problematic. Click here for more details.
- easycoder/__init__.py +1 -1
- easycoder/ec_graphics.py +4 -2
- {easycoder-250106.3.dist-info → easycoder-250106.5.dist-info}/METADATA +1 -1
- {easycoder-250106.3.dist-info → easycoder-250106.5.dist-info}/RECORD +7 -7
- {easycoder-250106.3.dist-info → easycoder-250106.5.dist-info}/LICENSE +0 -0
- {easycoder-250106.3.dist-info → easycoder-250106.5.dist-info}/WHEEL +0 -0
- {easycoder-250106.3.dist-info → easycoder-250106.5.dist-info}/entry_points.txt +0 -0
easycoder/__init__.py
CHANGED
easycoder/ec_graphics.py
CHANGED
|
@@ -37,7 +37,8 @@ class Graphics(Handler):
|
|
|
37
37
|
FatalError(self.program.compiler, f'There is no screen element with id \'{id}\'')
|
|
38
38
|
return -1
|
|
39
39
|
if element.getType() != keyword:
|
|
40
|
-
|
|
40
|
+
etype = element['type']
|
|
41
|
+
FatalError(self.program.compiler, f'Mismatched element type: "{etype}" and "{keyword}"')
|
|
41
42
|
self.putSymbolValue(targetRecord, {'type': 'text', 'content': id})
|
|
42
43
|
return self.nextPC()
|
|
43
44
|
|
|
@@ -300,7 +301,8 @@ class Graphics(Handler):
|
|
|
300
301
|
id = record['value'][record['index']]['content']
|
|
301
302
|
self.ui.setOnClick(id, lambda: self.run(pc))
|
|
302
303
|
else:
|
|
303
|
-
|
|
304
|
+
name = record['name']
|
|
305
|
+
RuntimeError(self.program, f'{name} is not a clickable object')
|
|
304
306
|
return self.nextPC()
|
|
305
307
|
|
|
306
308
|
def k_rectangle(self, command):
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: easycoder
|
|
3
|
-
Version: 250106.
|
|
3
|
+
Version: 250106.5
|
|
4
4
|
Summary: Rapid scripting in English
|
|
5
5
|
Keywords: compiler,scripting,prototyping,programming,coding,python,low code,hypertalk,computer language,learn to code
|
|
6
6
|
Author-email: Graham Trott <gtanyware@gmail.com>
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
easycoder/README.md,sha256=PYqOc_SkIGiFbyCNs90y7JqoqWe4aO1xYIW-6bOnFKU,573
|
|
2
|
-
easycoder/__init__.py,sha256=
|
|
2
|
+
easycoder/__init__.py,sha256=YmmH6Ot7GmuEyDlHRY_bBdkEOTVcyUTUZB283Jv6iDo,283
|
|
3
3
|
easycoder/ec.py,sha256=Nj5PRl8GsKjfGJKq0FOM1a7FeK3cN68CoIFg8lswQEg,221
|
|
4
4
|
easycoder/ec_classes.py,sha256=xnWBNak8oKydkFoxHLlq9wo3lIsB3aMnTDrqbtCfoWo,1512
|
|
5
5
|
easycoder/ec_compiler.py,sha256=f3zZRtbNsegBuRHTvTLK8BOdnuRq5p_p-1vtJYb-LiY,4800
|
|
6
6
|
easycoder/ec_condition.py,sha256=WSbONo4zs2sX1icOVpscZDFSCAEFmTsquoc2RGcLx_k,763
|
|
7
7
|
easycoder/ec_core.py,sha256=71rSNOwMrO0Ik1hdgTshOYRo2XVD0Br7gUZfCR7A0OA,86291
|
|
8
|
-
easycoder/ec_graphics.py,sha256=
|
|
8
|
+
easycoder/ec_graphics.py,sha256=vpE05elgAuu5dt4nZ0aDGYPzTUB12a5UJXOnSG_YFxs,17067
|
|
9
9
|
easycoder/ec_handler.py,sha256=IJvxcrJJSR53d6DS_8H5qPHKhp9y5-GV4WXAjhZxu_o,2250
|
|
10
10
|
easycoder/ec_program.py,sha256=xNhFM6hoRaXx3Nl9Scn9f_qQL5-57WnvNXfwKdHl0rc,9844
|
|
11
11
|
easycoder/ec_renderer.py,sha256=ht_fdC6Yt5PKhTVim_2zg1cCQTHeS1OKzQSRYgL1cT4,8054
|
|
12
12
|
easycoder/ec_screenspec.py,sha256=qNqhbP16gAi2cRUD3W0dpb8tTC4-N4mE2l6HtOG0vbc,2405
|
|
13
13
|
easycoder/ec_timestamp.py,sha256=_3QFJPzIWZ9Rzk3SQOQJ-gwmvB07pg78k23SPntoZtY,288
|
|
14
14
|
easycoder/ec_value.py,sha256=7yJovn24pPC3jrURSQyEvZ8m826fXiqxsCpSvxwNrfQ,2403
|
|
15
|
-
easycoder-250106.
|
|
16
|
-
easycoder-250106.
|
|
17
|
-
easycoder-250106.
|
|
18
|
-
easycoder-250106.
|
|
19
|
-
easycoder-250106.
|
|
15
|
+
easycoder-250106.5.dist-info/entry_points.txt,sha256=JXAZbenl0TnsIft2FcGJbJ-4qoztVu2FuT8PFmWFexM,44
|
|
16
|
+
easycoder-250106.5.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
|
|
17
|
+
easycoder-250106.5.dist-info/WHEEL,sha256=Sgu64hAMa6g5FdzHxXv9Xdse9yxpGGMeagVtPMWpJQY,99
|
|
18
|
+
easycoder-250106.5.dist-info/METADATA,sha256=ge2-KJ2LLpcRbSbO9eDIvut96jk7DRVBzr9dtvnO5qY,5817
|
|
19
|
+
easycoder-250106.5.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|