[Python-Dev] a quit that actually quits (original) (raw)
Michael Hudson mwh at python.net
Wed Dec 28 13:30:07 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 ]
"Fredrik Lundh" <fredrik at pythonware.com> writes:
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.
In what sense? Not in the sense of "things in single quotes in Grammar"...
Cheers, mwh
-- There are two kinds of large software systems: those that evolved from small systems and those that don't work. -- Seen on slashdot.org, then quoted by amk
- 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 ]