easycoder 251021.1__py2.py3-none-any.whl → 251022.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__ = "251021.1"
15
+ __version__ = "251022.1"
easycoder/ec_classes.py CHANGED
@@ -16,7 +16,6 @@ class AssertionError:
16
16
  def __init__(self, program, msg=None):
17
17
  code = program.code[program.pc]
18
18
  lino = code['lino']
19
- script = program.script.lines[lino].strip()
20
19
  message = f'Assertion Error in {program.name} at line {lino + 1}'
21
20
  if msg != None:
22
21
  message += f': {msg}'
@@ -58,8 +57,5 @@ class Token:
58
57
  self.lino = lino
59
58
  self.token = token
60
59
 
61
- class Condition():
62
- negate = False
63
-
64
60
  class Object():
65
61
  pass
easycoder/ec_condition.py CHANGED
@@ -19,7 +19,7 @@ class Condition:
19
19
  condition.domain= domain.getName()
20
20
  return condition
21
21
  self.rewindTo(mark)
22
- return None
22
+ return None
23
23
 
24
24
  def testCondition(self, condition):
25
25
  handler = self.program.domainIndex[condition.domain]
easycoder/ec_core.py CHANGED
@@ -3,7 +3,7 @@ import numbers, base64, binascii, random, requests, paramiko
3
3
  from copy import deepcopy
4
4
  from psutil import Process
5
5
  from datetime import datetime
6
- from .ec_classes import FatalError, RuntimeWarning, RuntimeError, AssertionError, NoValueError, NoValueRuntimeError, Condition, Object
6
+ from .ec_classes import FatalError, RuntimeWarning, RuntimeError, AssertionError, NoValueError, NoValueRuntimeError, Object
7
7
  from .ec_handler import Handler
8
8
  from .ec_timestamp import getTimestamp
9
9
 
@@ -2632,7 +2632,8 @@ class Core(Handler):
2632
2632
  #############################################################################
2633
2633
  # Compile a condition
2634
2634
  def compileCondition(self):
2635
- condition = Condition()
2635
+ condition = Object()
2636
+ condition.negate = False
2636
2637
 
2637
2638
  token = self.getToken()
2638
2639
 
easycoder/ec_pyside.py CHANGED
@@ -1,7 +1,7 @@
1
1
  import sys
2
2
  from functools import partial
3
3
  from .ec_handler import Handler
4
- from .ec_classes import RuntimeError
4
+ from .ec_classes import RuntimeError, Object
5
5
  from .ec_border import Border
6
6
  from PySide6.QtCore import Qt, QTimer, Signal, QRect
7
7
  from PySide6.QtGui import QPixmap, QPainter
@@ -1515,8 +1515,9 @@ class Graphics(Handler):
1515
1515
  #############################################################################
1516
1516
  # Compile a condition
1517
1517
  def compileCondition(self):
1518
- condition = {}
1519
- return condition
1518
+ condition = Object()
1519
+ condition.negate = False
1520
+ return None
1520
1521
 
1521
1522
  #############################################################################
1522
1523
  # Condition handlers
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: easycoder
3
- Version: 251021.1
3
+ Version: 251022.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,19 +1,19 @@
1
- easycoder/__init__.py,sha256=DJ3kZP8Psi4ElD1WHZmQhjMGB0ChfAPRt50pt2JIxdg,339
1
+ easycoder/__init__.py,sha256=zYNtmGgE9VSJRidp6nmtn8IRiTq42VRwGw45dQscGlI,339
2
2
  easycoder/close.png,sha256=3B9ueRNtEu9E4QNmZhdyC4VL6uqKvGmdfeFxIV9aO_Y,9847
3
3
  easycoder/ec_border.py,sha256=KpOy0Jq8jI_6DYGo4jaFvoBP_jTIoAYWrmuHhl-FXA4,2355
4
- easycoder/ec_classes.py,sha256=bejrby7mLHTeAQXhhz-1l8iv6LSbNSy30lW21KJKjXE,1832
4
+ easycoder/ec_classes.py,sha256=YGUiKnVN6T5scoeBmmGDQAtE8xJgaTHi0Exh9A7H2Y4,1750
5
5
  easycoder/ec_compiler.py,sha256=LYwGNs8dcHKXI_nnu1sVFe1N36vjvylcUO_tX_bLjrk,5359
6
- easycoder/ec_condition.py,sha256=YXvSBQKEzKGCcgUGo3Qp8iHolXmm2BpEm0NimSDszIM,785
7
- easycoder/ec_core.py,sha256=44QeY8S2P4oRcgYAiOdDfYy-urF4YfXUuS_HV2jH6BA,99758
6
+ easycoder/ec_condition.py,sha256=uamZrlW3Ej3R4bPDuduGB2f00M80Z1D0qV8muDx4Qfw,784
7
+ 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=YtNWs3XMIa7FwTIxHe0ShEtFRyKrzD8bBSmKXxkQvUY,57476
11
+ easycoder/ec_pyside.py,sha256=78jtkiwna8c2gYhH33fOtxboENQ-jWmMR0WdB--nnXg,57518
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-251021.1.dist-info/entry_points.txt,sha256=JXAZbenl0TnsIft2FcGJbJ-4qoztVu2FuT8PFmWFexM,44
16
- easycoder-251021.1.dist-info/licenses/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
17
- easycoder-251021.1.dist-info/WHEEL,sha256=Dyt6SBfaasWElUrURkknVFAZDHSTwxg3PaTza7RSbkY,100
18
- easycoder-251021.1.dist-info/METADATA,sha256=tK3XAF-X2zxpqURc0CS9iAge0U2AQbMO4PU82_YPWoY,6897
19
- easycoder-251021.1.dist-info/RECORD,,
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,,