Paul McGuire added the comment: I was about to report this same issue - I get the error message even though I explicitly call transport.close():
C:\Python35\lib\asyncio\selector_events.py:582: ResourceWarning: unclosed transport <_SelectorDatagramTransport closing fd=232> It looks like the _sock attribute of the Transport subclasses must be set to None in their close() methods. (The presence of a non-None _sock is used elsewhere as an indicator of whether the transport has been closed or not. ---------- nosy: +Paul McGuire _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue27746> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com