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 yselivanov
Recipients asvetlov, gvanrossum, pitrou, yselivanov
Date 2017-11-15.19:04:38
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1510772678.44.0.213398074469.issue32038@psf.upfronthosting.co.za>
In-reply-to
Content
> Why not instead add `loop.sock_close()`?

It wouldn't help if the program calls `socket.close()` somewhere.  This can happen easily in big code bases.

Ideally (at least I think so) we need to provide a guarantee that the socket object can't be closed at all (or be closed in a controlled manner) if it's being operated by asyncio/event-loop.
History
Date User Action Args
2017-11-15 19:04:38yselivanovsetrecipients: + yselivanov, gvanrossum, pitrou, asvetlov
2017-11-15 19:04:38yselivanovsetmessageid: <1510772678.44.0.213398074469.issue32038@psf.upfronthosting.co.za>
2017-11-15 19:04:38yselivanovlinkissue32038 messages
2017-11-15 19:04:38yselivanovcreate