easycoder 251022.1__py2.py3-none-any.whl → 251026.1__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 CHANGED
@@ -12,4 +12,4 @@ from .ec_pyside import *
12
12
  from .ec_timestamp import *
13
13
  from .ec_value import *
14
14
 
15
- __version__ = "251022.1"
15
+ __version__ = "251026.1"
easycoder/ec_pyside.py CHANGED
@@ -70,8 +70,12 @@ class Graphics(Handler):
70
70
  ]
71
71
 
72
72
  def setWidget(self, record, widget):
73
+ if record['index'] >= record['elements']:
74
+ RuntimeError(self.program, f'Index out of range for widget {record["name"]}')
73
75
  if not 'widget' in record:
74
76
  record['widget'] = [None] * record['elements']
77
+ while len(record['widget']) < record['elements']:
78
+ record['widget'].append(None)
75
79
  record['widget'][record['index']] = widget
76
80
 
77
81
  def getWidget(self, record):
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: easycoder
3
- Version: 251022.1
3
+ Version: 251026.1
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,4 +1,4 @@
1
- easycoder/__init__.py,sha256=zYNtmGgE9VSJRidp6nmtn8IRiTq42VRwGw45dQscGlI,339
1
+ easycoder/__init__.py,sha256=faRkYBTijJU5gEqIEnWKcegBFkwU6yPfL_Jrxrzf5pc,339
2
2
  easycoder/close.png,sha256=3B9ueRNtEu9E4QNmZhdyC4VL6uqKvGmdfeFxIV9aO_Y,9847
3
3
  easycoder/ec_border.py,sha256=KpOy0Jq8jI_6DYGo4jaFvoBP_jTIoAYWrmuHhl-FXA4,2355
4
4
  easycoder/ec_classes.py,sha256=YGUiKnVN6T5scoeBmmGDQAtE8xJgaTHi0Exh9A7H2Y4,1750
@@ -8,12 +8,12 @@ easycoder/ec_core.py,sha256=nrhUCbvf1_QTK_kpY1uKnnrXOgsJaehkguWyqwPW44Q,99777
8
8
  easycoder/ec_handler.py,sha256=ED08ULiOlZkcs4XHxAguvdPZw_dFXuwGDFLbFuo0kLs,2317
9
9
  easycoder/ec_keyboard.py,sha256=H8DhPT8-IvAIGgRxCs4qSaF_AQLaS6lxxtDteejbktM,19010
10
10
  easycoder/ec_program.py,sha256=srVDRlELMElvnkjxmREczUVPkvPXPvanZglN4hKreLI,10324
11
- easycoder/ec_pyside.py,sha256=78jtkiwna8c2gYhH33fOtxboENQ-jWmMR0WdB--nnXg,57518
11
+ easycoder/ec_pyside.py,sha256=UDGmiCVbmAoW1vmVp3S-7YRumwoJefMS2UlgDts95NU,57758
12
12
  easycoder/ec_timestamp.py,sha256=myQnnF-mT31_1dpQKv2VEAu4BCcbypvMdzq7_DUi1xc,277
13
13
  easycoder/ec_value.py,sha256=zgDJTJhIg3yOvmnnKIfccIizmIhGbtvL_ghLTL1T5fg,2516
14
14
  easycoder/tick.png,sha256=OedASXJJTYvnza4J6Kv5m5lz6DrBfy667zX_WGgtbmM,9127
15
- easycoder-251022.1.dist-info/entry_points.txt,sha256=JXAZbenl0TnsIft2FcGJbJ-4qoztVu2FuT8PFmWFexM,44
16
- easycoder-251022.1.dist-info/licenses/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
17
- easycoder-251022.1.dist-info/WHEEL,sha256=Dyt6SBfaasWElUrURkknVFAZDHSTwxg3PaTza7RSbkY,100
18
- easycoder-251022.1.dist-info/METADATA,sha256=yKWSZAuntq9BmMkNJcczTU1z72XHiAB5AGauJmZ3En8,6897
19
- easycoder-251022.1.dist-info/RECORD,,
15
+ easycoder-251026.1.dist-info/entry_points.txt,sha256=JXAZbenl0TnsIft2FcGJbJ-4qoztVu2FuT8PFmWFexM,44
16
+ easycoder-251026.1.dist-info/licenses/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
17
+ easycoder-251026.1.dist-info/WHEEL,sha256=Dyt6SBfaasWElUrURkknVFAZDHSTwxg3PaTza7RSbkY,100
18
+ easycoder-251026.1.dist-info/METADATA,sha256=pGt9N2PuGWLykuWQ-ZyKN_kvLIS0yx2ZRQDCsGIF0cI,6897
19
+ easycoder-251026.1.dist-info/RECORD,,