[Python-Dev] Problem with signals in a single threaded application

"Martin v. Löwis" martin at v.loewis.de
Wed Jan 24 08:46:41 CET 2007


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.

Thanks for contributing,

Martin


More information about the Python-Dev mailing list