Guido van Rossum added the comment:

Does it also have that error if you add `asyncio.get_event_loop().close()` to 
the end of the program?

Can you figure out what the value of `sig` and `handler` are in the traceback?

My gut feeling tells me this is due to `signal.default_int_handler` being None 
at that point in the program tear-down sequence. (Which is why I recommend 
closing the loop.)  The tear-down sequence at best has a partial order, which 
is why this may come and go depending on random variables like which Python 
version you use.

----------

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

Reply via email to