[issue10046] Correction to atexit documentation

Adam Olsen report at bugs.python.org
Fri Oct 8 04:38:28 CEST 2010


Adam Olsen <rhamph at gmail.com> added the comment:

Signals can directly kill a process.  Try SIGTERM to see this.  SIGINT is caught and handled by Python, which just happens to default to a graceful exit (unless stuck in a lib that prevents that.)  Try pasting your script into an interactive interpreter session and you'll see that it doesn't exit at all.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue10046>
_______________________________________


More information about the Python-bugs-list mailing list