Hi,<div>sorry fir the late response.<br><div class="gmail_extra"><br><br><div class="gmail_quote">2012/10/1 Glynn Clements <span dir="ltr"><<a href="mailto:glynn@gclements.plus.com" target="_blank">glynn@gclements.plus.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div class="im"><br>
Sören Gebbert wrote:<br>
<br>
> > For simple clean-up operations, atexit.register() is sufficient.<br>
><br>
> While implementing this, can we use the "raise_on_error" flag to<br>
> enable the raise of a ScriptError exception in fatal()?<br>
> It would be only a simple modification of the current code i guess.<br>
<br>
</div>Yes. The only thing which needs to be done is to move the conditional<br>
from error() to fatal(), and check any code which might be using<br>
set_raise_on_error() in case it relies upon the existing behaviour.<br></blockquote><div><br></div><div>Done in r53396. </div><div><br></div><div>Best regards</div><div>Soeren</div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
Most scripts should continue to use atexit.register() for clean-up and<br>
not bother with exception handling.<br>
<span class=""><font color="#888888"><br>
--<br>
Glynn Clements <<a href="mailto:glynn@gclements.plus.com">glynn@gclements.plus.com</a>><br>
</font></span></blockquote></div><br></div></div>