Yury Selivanov <yseliva...@gmail.com> added the comment:

> Oh, sock._decref_socketios() must be uesd here to really close the socket if 
> it was closed in the meanwhile:

There's also 'sock._closed' attribute that sock.close() and sock. 
_decref_socketios() interact with.. Alright, let me play with this in uvloop.  
So far it looks like we don't need any new APIs :)

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue32038>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to