Tony Meyer wrote: > Fredrik Lundh kicked off a surprisingly long thread when he proposed > that typing "quit" or "exit" in the interactive prompt actually exit > (i.e. raises SystemError)
SystemExit > >>> def exit(): > ... print "bye" > > >>> # what is it? > >>> exit > > $ oops! > > (However, one could simply type "repr(exit)" in this case). too late: >>> exit $ repr(exit) bash: syntax error near unexpected token `repr(exit)' </F> _______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com