[Python-Dev] a quit that actually quits

"Martin v. Löwis" martin at v.loewis.de
Wed Dec 28 15:20:18 CET 2005


Fredrik Lundh wrote:
> this is done in site.py, before sitecustomize is loaded.  I'm not sure
> how anyone else would be able to squeeze in an excepthook at this
> point, even if they wanted...

I see. Still, I think the Python code should give a good example.
There *is* an excepthook installed at that point, anyway, so we
should use it.

Otherwise, I think the approach is fine.

Regards,
Martin


More information about the Python-Dev mailing list