stackvm 0.1.0__tar.gz → 0.1.1__tar.gz

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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: stackvm
3
- Version: 0.1.0
3
+ Version: 0.1.1
4
4
  Summary: Stack machine visualized
5
5
  Author: abkwreu
6
6
  Requires-Dist: flet>=1.0.5
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "stackvm"
3
- version = "0.1.0"
3
+ version = "0.1.1"
4
4
  description = "Stack machine visualized"
5
5
  readme = "README.md"
6
6
  requires-python = ">=3.12"
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "stackvm"
3
- version = "0.1.0"
3
+ version = "0.1.1"
4
4
  description = "Stack machine visualized"
5
5
  readme = "README.md"
6
6
  authors = [
@@ -150,7 +150,7 @@ def main():
150
150
  title="Input",
151
151
  prompt="Enter a seed (leave blank for random):",
152
152
  )
153
-
153
+
154
154
  if seed_input is None:
155
155
  return
156
156
 
@@ -436,7 +436,7 @@ class StackMachine:
436
436
 
437
437
  def __call__(self, *args: None | int | str | bool, seed: int | str | Random | None = None) -> Any:
438
438
  """
439
- Docstring for __call__
439
+ Executes the defined program.
440
440
 
441
441
  :param args: The initial arguments to pass into the program.
442
442
  These will be present on the stack at the start of the program, with the first supplied argument at the bottom.
@@ -981,6 +981,8 @@ class App:
981
981
 
982
982
  await page.window.destroy()
983
983
 
984
+ self.result.set_result(None)
985
+
984
986
  page.window.prevent_close = True
985
987
  page.window.on_event = on_window_event
986
988
 
File without changes
File without changes
File without changes
File without changes