[issue1975] signals not always delivered to main thread, since other threads have the signal unmasked

Marcin Stepnicki report at bugs.python.org
Mon Dec 14 20:10:55 CET 2009


Marcin Stepnicki <marcin.stepnicki at haibane.pl> added the comment:

> I don't have any strong view over whether the interpreter should,
> theoretically, block signals in non-main threads. But, practically,
> blocking signals apparently produced issues with readline (and possibly
> other libs relying on signals), which is why they are not blocked today.

I see your point of view, but the problem is that current behaviour is
inconsistent between different operating system. As there are many
people who brought up this issue, I think it should be at least
documented somewhere.

Regards,
Marcin

----------

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


More information about the Python-bugs-list mailing list