(original) (raw)
On 1/24/07, "Martin v. Löwis" <martin@v.loewis.de> wrote:
Ulisses Furquim schrieb:
> I've read some threads about signals in the archives and I was under
> the impression signals should work reliably on single-threaded
> applications. Am I right? I've thought about a way to fix this, but I
> don't know what is the current plan for signals support in python, so
> what can be done?
I agree it's a bug, and I agree with your proposed analysis. Please
try to come up with a patch (e.g
. by putting a while(is_tripped) loop
around the for loop). Also make sure you include test case.
What about http://www.python.org/sf/1564547 ? It tries to solve a different problem, but I think it also fixes this one; at least as much as possible with the braindead unix signal programming interface...
--
Gustavo J. A. M. Carneiro
"The universe is always one step beyond logic."