Re: sys.exit versus raise SystemExit

2007-01-08 Thread Duncan Booth
Will McGugan <[EMAIL PROTECTED]> wrote: > [EMAIL PROTECTED] wrote: >> >> sys.exit() raises a SystemExit, see >> http://docs.python.org/lib/module-sys.html >> > Oh I know. I was just wondering if there was some sort of subtle 'best > practice' recommendation that I wasnt aware of for using sys.e

Re: sys.exit versus raise SystemExit

2007-01-08 Thread Will McGugan
[EMAIL PROTECTED] wrote: > > sys.exit() raises a SystemExit, see > http://docs.python.org/lib/module-sys.html > Oh I know. I was just wondering if there was some sort of subtle 'best practice' recommendation that I wasnt aware of for using sys.exit over raising the exception manually. In the sa

Re: sys.exit versus raise SystemExit

2007-01-08 Thread [EMAIL PROTECTED]
Will McGugan wrote: > Hi, > > Is there any difference between calling sys.exit() and raise SystemExit? > Should I prefer one over the other? > > Regards, > > Will McGugan > -- > blog: http://www.willmcgugan.com sys.exit() raises a SystemExit, see http://docs.python.org/lib/module-sys.html -- ht

sys.exit versus raise SystemExit

2007-01-08 Thread Will McGugan
Hi, Is there any difference between calling sys.exit() and raise SystemExit? Should I prefer one over the other? Regards, Will McGugan -- blog: http://www.willmcgugan.com -- http://mail.python.org/mailman/listinfo/python-list