Message162114
A slightly more ambitious solution than crashing / deadlocking always is to have Python automatically spawn a "fork server" whenever you start using threads. Then, you would be able to have "subprocess" work cleanly, and not worry about any of this stuff. I don't know if we want to take the perf hit on "import threading" though... | |
Date | User | Action | Args | 2012-06-02 00:42:00 | lesha | set | recipients: + lesha, gregory.p.smith, vinay.sajip, jcea, pitrou, vstinner, nirai, bobbyi, neologix, Giovanni.Bajo, sdaoden, sbt, avian | 2012-06-02 00:42:00 | lesha | set | messageid: <1338597720.88.0.000987280153686.issue6721@psf.upfronthosting.co.za> | 2012-06-02 00:42:00 | lesha | link | issue6721 messages | 2012-06-02 00:42:00 | lesha | create | | |