[Python-Dev] a quit that actually quits (original) (raw)
Fredrik Lundh fredrik at pythonware.com
Wed Dec 28 12:57:55 CET 2005
- Previous message: [Python-Dev] a quit that actually quits
- Next message: [Python-Dev] a quit that actually quits
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Michael Hudson wrote:
In other news, clever hacks with tbnext 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.
- Previous message: [Python-Dev] a quit that actually quits
- Next message: [Python-Dev] a quit that actually quits
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]