delayed sys.exit?

2009-07-29 Thread Dr. Phillip M. Feldman
numbers must be positive. ERROR: '0' is not a valid run number. -- View this message in context: http://www.nabble.com/delayed-sys.exit--tp24726902p24726902.html Sent from the Python - python-list mailing list archive at Nabble.com. -- http://mail.python.org/mailman/listinfo/python-list

Re: delayed sys.exit?

2009-07-29 Thread Stephen Hansen
In the attached http://www.nabble.com/file/p24726902/test.py test.py code, it appears that additional statements execute after the call to sys.exit(0). I'll be grateful if anyone can shed light on why this is happening. Below is a copy of some sample I/O. Note that in the last case I get

Re: delayed sys.exit?

2009-07-29 Thread MRAB
Dr. Phillip M. Feldman wrote: In the attached http://www.nabble.com/file/p24726902/test.py test.py code, it appears that additional statements execute after the call to sys.exit(0). I'll be grateful if anyone can shed light on why this is happening. Below is a copy of some sample I/O. Note

Re: delayed sys.exit?

2009-07-29 Thread Peter Otten
Dr. Phillip M. Feldman wrote: In the attached http://www.nabble.com/file/p24726902/test.py test.py code, it appears that additional statements execute after the call to sys.exit(0). try: # If the conversion to int fails, nothing is appended to the list: