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 Ben.Darnell, asvetlov, gvanrossum, pitrou, vstinner, yselivanov
Date 2017-11-16.16:52:53
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1510851173.68.0.213398074469.issue32038@psf.upfronthosting.co.za>
In-reply-to
Content
> Hmm... _decref_socketios() is not really a public API.  I think it would be nice to have an official way to deal with this, and a socket close callback sounds reasonable to me.


We can just make it public (after some renames) :)  My first idea was to add a refcounting API to sockets, I just didn't know it's already there (I assumed that socketmodule.c implements the actual 'socket' object, and never even looked in socket.py module).

I'll experiment with this stuff in asyncio/uvloop and report back to this issue.
History
Date User Action Args
2017-11-16 16:52:53yselivanovsetrecipients: + yselivanov, gvanrossum, pitrou, vstinner, asvetlov, Ben.Darnell
2017-11-16 16:52:53yselivanovsetmessageid: <1510851173.68.0.213398074469.issue32038@psf.upfronthosting.co.za>
2017-11-16 16:52:53yselivanovlinkissue32038 messages
2017-11-16 16:52:53yselivanovcreate