This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author pernici
Recipients
Date 2005-04-17.10:42:38
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
Logged In: YES 
user_id=756712

To allow the builtin quit() only when using
Python interactively, one can put in a start-up quitfile.py

def quit():
  import sys
  sys.exit(0)


and set
export PYTHONSTARTUP=quitfile.py
One could add to this file also
exit = quit
since the builtin exit behaves like quit.
History
Date User Action Args
2007-08-23 14:30:38adminlinkissue1173637 messages
2007-08-23 14:30:38admincreate