Neil Schemenauer wrote:
>>Bad idea, as several pointed out -- quit() should return a 0 exit
>>to the shell.
> 
> 
> I like the idea of making "quit" callable.  One small concern I have
> is that people will use it in scripts to exit (rather than one of
> the other existing ways to exit).  OTOH, maybe that's a feature.

I actually thought it was only defined for interactive sessions, but a 
brief test shows I was wrong.  It doesn't bother me, but it does make me 
think that exit(1) should exit with a code of one.

-- 
Ian Bicking  /  [EMAIL PROTECTED]  /  http://blog.ianbicking.org
_______________________________________________
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

Reply via email to