Re: sys.exit versus termination of source code

2007-07-13 Thread Steve Holden
Carl DHalluin wrote: > Hi, > > > > I am playing with the atexit module but I don’t find a way to see the > difference > > between a script calling sys.exit() and the interpreting > arriving at the end > > of the source code file. This has a semantic difference for my applications. > > Is t

sys.exit versus termination of source code

2007-07-13 Thread Carl DHalluin
Hi, I am playing with the atexit module but I don't find a way to see the difference between a script calling sys.exit() and the interpreting arriving at the end of the source code file. This has a semantic difference for my applications. Is there a way to determine in an exithandler (that i