Message270382
One reason for not calling sys.exit() is because on Linux, the default
implementation uses fork(), hence the address space in the chilren is
a clone of the parent: so all atexit handlers, for example, would be
called multiple times.
There's also the problem that fork() isn't MT-safe, making the
probability of screwups/deadlocks in various destructors/stack
unwinding greater. |
|
Date |
User |
Action |
Args |
2016-07-14 08:33:23 | neologix | set | recipients:
+ neologix, tim.peters, pitrou, pietvo, sbt, eryksun, davin |
2016-07-14 08:33:23 | neologix | link | issue18966 messages |
2016-07-14 08:33:23 | neologix | create | |
|