[Python-Dev] DRAFT: python-dev Summary for 2005-12-16 through2005-12-31 (original) (raw)
Fredrik Lundh fredrik at pythonware.com
Fri Jan 13 11:04:35 CET 2006
- Previous message: [Python-Dev] DRAFT: python-dev Summary for 2005-12-16 through 2005-12-31
- Next message: [Python-Dev] Ph.D. dissertation ideas?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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)'
- Previous message: [Python-Dev] DRAFT: python-dev Summary for 2005-12-16 through 2005-12-31
- Next message: [Python-Dev] Ph.D. dissertation ideas?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]