Skip to content

Conversation

@briangu
Copy link
Owner

@briangu briangu commented Sep 16, 2025

Summary

  • propagate SystemExit from the Klong event loop back to the console task and record the resulting exit code
  • stop the REPL task without raising so the main loop can shut down cleanly and exit with the recorded status
  • add a regression test that runs kgpy -d with .x(0) on stdin to make sure the interactive REPL terminates

Testing

  • python -m unittest tests.test_sys_fn.TestSysFn.test_eval_sys_exit -v
  • python -m unittest

https://chatgpt.com/codex/tasks/task_e_6871a2c441408332b5d7be7f2f658baf

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants