Message273293
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. |
|
Date |
User |
Action |
Args |
2016-08-21 11:27:42 | Paul McGuire | set | recipients:
+ Paul McGuire, gvanrossum, vstinner, martin.panter, yselivanov, xiang.zhang |
2016-08-21 11:27:42 | Paul McGuire | set | messageid: <1471778862.62.0.989995020503.issue27746@psf.upfronthosting.co.za> |
2016-08-21 11:27:42 | Paul McGuire | link | issue27746 messages |
2016-08-21 11:27:42 | Paul McGuire | create | |
|