Message76625
Martin: socket.socket has no destructor so a call to
socket.socket._real_close() is not guaranteed. Thats fine as its parent
class from socketmodule.c _socket.socket does the right thing in its
destructor.
Amaury: The case you show doesn't call SOCKETCLOSE() because x still
exists and holds a reference to the socket object.
In order to fix that, SocketIO needs to drop its reference on close.
Take a look at the attached -gps04 patch. It fixes that. |
|
Date |
User |
Action |
Args |
2008-11-29 21:52:17 | gregory.p.smith | set | recipients:
+ gregory.p.smith, gvanrossum, loewis, jhylton, amaury.forgeotdarc, ggenellina, zanella, romkyns |
2008-11-29 21:52:17 | gregory.p.smith | set | messageid: <1227995537.0.0.561361490214.issue3826@psf.upfronthosting.co.za> |
2008-11-29 21:52:16 | gregory.p.smith | link | issue3826 messages |
2008-11-29 21:52:15 | gregory.p.smith | create | |
|