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 amaury.forgeotdarc
Recipients amaury.forgeotdarc, ggenellina, gregory.p.smith, gvanrossum, jhylton, romkyns, zanella
Date 2008-11-28.23:58:12
SpamBayes Score 4.0913346e-06
Marked as misclassified No
Message-id <1227916693.59.0.912595582447.issue3826@psf.upfronthosting.co.za>
In-reply-to
Content
I agree that the patch on socket.py is the correct fix: the raw socket 
should be detached when the close() method is called.

I have one remark on the patch:
io.IOBase.__del__ already calls close(): could SocketIO.__del__ be 
removed completely? And no need for "_need_to_decref_sock": the closed 
property should be enough.
History
Date User Action Args
2008-11-28 23:58:13amaury.forgeotdarcsetrecipients: + amaury.forgeotdarc, gvanrossum, jhylton, gregory.p.smith, ggenellina, zanella, romkyns
2008-11-28 23:58:13amaury.forgeotdarcsetmessageid: <1227916693.59.0.912595582447.issue3826@psf.upfronthosting.co.za>
2008-11-28 23:58:13amaury.forgeotdarclinkissue3826 messages
2008-11-28 23:58:12amaury.forgeotdarccreate