This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author brotherBox
Recipients brotherBox, gvanrossum, yselivanov
Date 2016-11-07.01:43:16
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1478482999.04.0.832898524101.issue28628@psf.upfronthosting.co.za>
In-reply-to
Content
This is the first bug that I file, so please bear with me here. I was advised to file this after running into a strange situation with asyncio 3.4.3. Adding signal handlers for any other signal but SIGINT throws strange exceptions. The attached source code produces the following traceback:

Exception ignored in: <bound method BaseEventLoop.__del__ of <_UnixSelectorEventLoop running=False closed=True debug=False>>
Traceback (most recent call last):
  File "/usr/lib/python3.5/asyncio/base_events.py", line 501, in __del__
  File "/usr/lib/python3.5/asyncio/unix_events.py", line 58, in close
  File "/usr/lib/python3.5/asyncio/unix_events.py", line 139, in remove_signal_handler
  File "/usr/lib/python3.5/signal.py", line 47, in signal
TypeError: signal handler must be signal.SIG_IGN, signal.SIG_DFL, or a callable object

I asked in #python on freenode and was asked to file this bug.

Thank you for your consideration
History
Date User Action Args
2016-11-07 01:43:19brotherBoxsetrecipients: + brotherBox, gvanrossum, yselivanov
2016-11-07 01:43:19brotherBoxsetmessageid: <1478482999.04.0.832898524101.issue28628@psf.upfronthosting.co.za>
2016-11-07 01:43:18brotherBoxlinkissue28628 messages
2016-11-07 01:43:17brotherBoxcreate