[Python-Dev] a quit that actually quits

Fredrik Lundh fredrik at pythonware.com
Wed Dec 28 12:57:55 CET 2005


Michael Hudson wrote:

> In other news, clever hacks with tb_next and so on also seem
> excessive.  Why not have the equivalent of "if input.rstrip() ==
> 'exit': sys.exit()" in the implementation of the interactive
> interpreter?

that would turn exit and quit into reserved keywords.

</F>





More information about the Python-Dev mailing list