[issue22841] Avoid to use coroutine with add_signal_handler()

Ludovic Gasc report at bugs.python.org
Tue Nov 11 00:35:47 CET 2014


New submission from Ludovic Gasc:

Hi,

Victor Stinner suggested me during PyCON-FR to send you this:
It's a pico-patch to forbid a coroutine as parameter of add_signal_handler().

I've added a test for that, the patch is based on the latest commit in Tulip.

Thanks for your feedback.

Regards.

----------
components: asyncio
files: add_signal_handler_no_coroutines.patch
keywords: patch
messages: 230984
nosy: Ludovic.Gasc, gvanrossum, haypo, yselivanov
priority: normal
severity: normal
status: open
title: Avoid to use coroutine with add_signal_handler()
versions: Python 3.4, Python 3.5
Added file: http://bugs.python.org/file37170/add_signal_handler_no_coroutines.patch

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


More information about the Python-bugs-list mailing list