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
exit() not implemented in REPL
As of 9336ee320a85527942d9ca2ddb95221d90582da0 I get this behaviour:
>>> exit()
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
NameError: name 'exit' is not defined
>>>