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 Paul McGuire
Recipients Paul McGuire, gvanrossum, martin.panter, vstinner, xiang.zhang, yselivanov
Date 2016-08-21.11:27:42
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1471778862.62.0.989995020503.issue27746@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2016-08-21 11:27:42Paul McGuiresetrecipients: + Paul McGuire, gvanrossum, vstinner, martin.panter, yselivanov, xiang.zhang
2016-08-21 11:27:42Paul McGuiresetmessageid: <1471778862.62.0.989995020503.issue27746@psf.upfronthosting.co.za>
2016-08-21 11:27:42Paul McGuirelinkissue27746 messages
2016-08-21 11:27:42Paul McGuirecreate