[issue44603] REPL: exit when the user types exit instead of asking them to explicitly type exit()

Steven D'Aprano report at bugs.python.org
Sun Sep 26 12:24:28 EDT 2021


Steven D'Aprano <steve+python at pearwood.info> added the comment:

> That is true, but there are a couple setups where that doesn't work 
> (those keypresses are consumed by something else). I may not be a good 
> data point though.

Can you give an example of a setup where Ctrl-D is consumed but "import 
sys ENTER sys.exit() ENTER" is not?

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue44603>
_______________________________________


More information about the Python-bugs-list mailing list