[issue22572] NoneType object is not iterable error when asyncio Server.close() called
STINNER Victor
report at bugs.python.org
Tue Oct 7 11:51:50 CEST 2014
STINNER Victor added the comment:
> Using call_soon_threadsafe from an addCleanup in the _server method makes it work for me.
Maybe the documentation on thread safety should be improved? More warnings should be put in the documentation?
https://docs.python.org/dev/library/asyncio-dev.html#concurrency-and-multithreading
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue22572>
_______________________________________
More information about the Python-bugs-list
mailing list