[New-bugs-announce] [issue6162] What should happen to signals when the main thread dies?

Mark Florisson report at bugs.python.org
Mon Jun 1 18:01:33 CEST 2009


New submission from Mark Florisson <markflorisson88 at gmail.com>:

As signals are only delivered to the main thread, what should happen
when the main thread dies? Currently, the signal mask is not unset in
any other thread, so when the main thread dies, all signals set in the
mask are simply ignored. Perhaps an other thread could be selected as
the main thread?

The accompanied file demonstrates this behavior.

----------
components: Interpreter Core
files: ignore_signals.py
messages: 88650
nosy: eggy
severity: normal
status: open
title: What should happen to signals when the main thread dies?
type: feature request
versions: Python 2.4, Python 2.5, Python 2.6, Python 2.7, Python 3.0, Python 3.1, Python 3.2
Added file: http://bugs.python.org/file14143/ignore_signals.py

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


More information about the New-bugs-announce mailing list