easycoder 250302.1__py2.py3-none-any.whl → 250317.2__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
@@ -9,4 +9,4 @@ from .ec_program import *
9
9
  from .ec_timestamp import *
10
10
  from .ec_value import *
11
11
 
12
- __version__ = "250302.1"
12
+ __version__ = "250317.2"
easycoder/ec_core.py CHANGED
@@ -2487,10 +2487,13 @@ class Core(Handler):
2487
2487
 
2488
2488
  def c_empty(self, condition):
2489
2489
  value = self.getRuntimeValue(condition.value1)
2490
- if value == None:
2491
- comparison = True
2492
- else:
2490
+ if type(value) == dict:
2493
2491
  comparison = len(value) == 0
2492
+ else:
2493
+ if value == None:
2494
+ comparison = True
2495
+ else:
2496
+ comparison = len(value) == 0
2494
2497
  return not comparison if condition.negate else comparison
2495
2498
 
2496
2499
  def c_ends(self, condition):
easycoder/ec_program.py CHANGED
@@ -375,6 +375,9 @@ class Program:
375
375
  if type(v2) == int:
376
376
  if type(v1) != int:
377
377
  v2 = f'{v2}'
378
+ if type(v1) == dict and type(v2) == dict:
379
+ v1 = json.dumps(v1)
380
+ v2 = json.dumps(v2)
378
381
  if v1 > v2:
379
382
  return 1
380
383
  if v1 < v2:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: easycoder
3
- Version: 250302.1
3
+ Version: 250317.2
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,17 +1,17 @@
1
1
  easycoder/README.md,sha256=BVXmYphcTJ6q6RN_9L6HtQukgCnOjSLVIsTM3lk-9aM,587
2
- easycoder/__init__.py,sha256=X9oWXDvpy4ZlAVmbFrtv3ktYGIY1K1Qt-4aAvKEiaBk,262
2
+ easycoder/__init__.py,sha256=NdW3R7XrAr2VEXfUWBMLezSZz7DVvDDlC6hqJD4D9Kk,262
3
3
  easycoder/ec_classes.py,sha256=xnWBNak8oKydkFoxHLlq9wo3lIsB3aMnTDrqbtCfoWo,1512
4
4
  easycoder/ec_compiler.py,sha256=rtxFEWnhW0550MtWEDvYHOw9cYkeTcR0oG3t-kmgnBk,4795
5
5
  easycoder/ec_condition.py,sha256=YXvSBQKEzKGCcgUGo3Qp8iHolXmm2BpEm0NimSDszIM,785
6
- easycoder/ec_core.py,sha256=u4v023v26kjXU-_B46IpMeM8Lb2mUSLnpzmAs2Z83mI,88454
6
+ easycoder/ec_core.py,sha256=EmjvfkaVpZ2-tCoQ95mzltm3vQB6jUJ__cr35PCoiNs,88557
7
7
  easycoder/ec_graphics.py,sha256=sOQlSDpMMjwilLzGkC57-iHdaRqIUWl1SJxc0NbLs1M,14377
8
8
  easycoder/ec_gutils.py,sha256=yqu4RRQ6VdRkC5B2ADBYsXzgNu76dLnekd9aUjdEgPw,6399
9
9
  easycoder/ec_handler.py,sha256=K7nBuQTH8l0k8hX1o2b4KhTnhZHGdf2fkEuX4FJXJs8,2277
10
- easycoder/ec_program.py,sha256=BDwU7aGHiaw6WdbQvVFDhGVaHsvwQ1CWa4wb5MPmOe8,10013
10
+ easycoder/ec_program.py,sha256=Ms-GOtd22TjqvxXkNtfNer725WgQmZiHXlNHLlwMGvs,10103
11
11
  easycoder/ec_timestamp.py,sha256=_3QFJPzIWZ9Rzk3SQOQJ-gwmvB07pg78k23SPntoZtY,288
12
12
  easycoder/ec_value.py,sha256=zgDJTJhIg3yOvmnnKIfccIizmIhGbtvL_ghLTL1T5fg,2516
13
- easycoder-250302.1.dist-info/entry_points.txt,sha256=JXAZbenl0TnsIft2FcGJbJ-4qoztVu2FuT8PFmWFexM,44
14
- easycoder-250302.1.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
15
- easycoder-250302.1.dist-info/WHEEL,sha256=ssQ84EZ5gH1pCOujd3iW7HClo_O_aDaClUbX4B8bjKY,100
16
- easycoder-250302.1.dist-info/METADATA,sha256=ImDhH2nFVK7_l8KcQ3QiPQpmFFZx6_RfJ5gDi7T1YnU,6155
17
- easycoder-250302.1.dist-info/RECORD,,
13
+ easycoder-250317.2.dist-info/entry_points.txt,sha256=JXAZbenl0TnsIft2FcGJbJ-4qoztVu2FuT8PFmWFexM,44
14
+ easycoder-250317.2.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
15
+ easycoder-250317.2.dist-info/WHEEL,sha256=ssQ84EZ5gH1pCOujd3iW7HClo_O_aDaClUbX4B8bjKY,100
16
+ easycoder-250317.2.dist-info/METADATA,sha256=2tEEzCDe8kXIMio2SyKaxJquzycNsRKES-TI0tMcGJg,6155
17
+ easycoder-250317.2.dist-info/RECORD,,