Message306380
> 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. |
|
Date |
User |
Action |
Args |
2017-11-16 16:52:53 | yselivanov | set | recipients:
+ yselivanov, gvanrossum, pitrou, vstinner, asvetlov, Ben.Darnell |
2017-11-16 16:52:53 | yselivanov | set | messageid: <1510851173.68.0.213398074469.issue32038@psf.upfronthosting.co.za> |
2017-11-16 16:52:53 | yselivanov | link | issue32038 messages |
2017-11-16 16:52:53 | yselivanov | create | |
|