Charles-François Natali added the comment:

> Not sure if this would be a feature request or a bugfix

That would rather be a bug injection.

This patch isn't safe: the reason why signal handlers are called synchronously 
from the main loop is because you can't call arbitrary called on behalf of a 
signal handler: the must be async safe.

The proper way to do that would be to have a thread dedicated to signal 
management (like the Java VM does).

This patch is invalid (as is the issue).

----------
nosy: +neologix

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue16560>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to