[Python-Dev] a quit that actually quits

Fredrik Lundh fredrik at pythonware.com
Tue Dec 27 20:58:25 CET 2005


skip at pobox.com wrote:
> Fredrik> whaddya think?
>> We're going to wind up with the same problem that spawned the atexit module:
> multiple code sources wanting to fiddle with sys.excepthook step on one
> another's toes.

in this case, I'm not sure it matters that much. if you add your own except-
hook, you take responsibility.
(it would be nice if it was possible to detect "interactive mode" when the site
code runs, though. does anyone know if that's possible ?)
</F>


More information about the Python-Dev mailing list

AltStyle によって変換されたページ (->オリジナル) /