Message306379
> 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.
I dislike the idea of an event when a socket is closed. It doesn't prevent a crash if you are using the socket with the GIL released.
I prefer to "hold" the socket while using it. |
|
Date |
User |
Action |
Args |
2017-11-16 16:51:43 | vstinner | set | recipients:
+ vstinner, gvanrossum, pitrou, asvetlov, Ben.Darnell, yselivanov |
2017-11-16 16:51:43 | vstinner | set | messageid: <1510851103.82.0.213398074469.issue32038@psf.upfronthosting.co.za> |
2017-11-16 16:51:43 | vstinner | link | issue32038 messages |
2017-11-16 16:51:43 | vstinner | create | |
|