En Thu, 12 Jul 2007 06:30:45 -0300, [EMAIL PROTECTED]
<[EMAIL PROTECTED]> escribió:
> I am getting quite confused with this SystemExit.
> If I register a custom sys.excepthook then it is never invoked
> when I do sys.exit(.)
No, sys.excepthook won't be called for SystemExit:
py> help(sys)
Help
On 12 jul, 01:32, Wojciech Mu a
<[EMAIL PROTECTED]> wrote:
> [EMAIL PROTECTED] wrote:
> > I am playing with theatexitmodule 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 s
[EMAIL PROTECTED] wrote:
> 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 determi
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 is regi