QUERY · ISSUE
Implement exit() to exit for ./micropython shell
enhancementport-unix
I know that currently CTRL-D exits the shell.
For consistency with other python shells i.e CPython, let us implement exit() as an option to also exit the shell.
If this sounds good, i will track this for myself so that I can implement this as part of google season of docs.
CANDIDATE · ISSUE
Need sys.exit()
Need to implement sys.exit(), or otherwise it's not possible to terminate script early.