[issue23548] TypeError in event loop finalizer, new in Python 3.4.3
Guido van Rossum
report at bugs.python.org
Sat Feb 28 17:36:21 CET 2015
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 <report at bugs.python.org>
<http://bugs.python.org/issue23548>
_______________________________________
More information about the Python-bugs-list
mailing list