Message206508
Thank you Martin for clarification. Now I see the problem.
Here is regenerated for Rietveld patch.
Perhaps more safe will be not close socket, but only set the _closed attribute so that it will be closed just after closing SocketIO.
if h.sock:
h.sock._closed = True
h.sock = None
But this is even more tricky.
Yet one approach is to implement __del__() method in the socket.socket class. But this breaks existing tests. |
|
| Date |
User |
Action |
Args |
| 2013-12-18 12:25:44 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, barry, orsenthil, martin.panter |
| 2013-12-18 12:25:44 | serhiy.storchaka | set | messageid: <[email protected]> |
| 2013-12-18 12:25:44 | serhiy.storchaka | link | issue19524 messages |
| 2013-12-18 12:25:43 | serhiy.storchaka | create | |
|