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 vstinner
Recipients amaury.forgeotdarc, ggenellina, gregory.p.smith, jhylton, loewis, romkyns, vstinner, zanella
Date 2009-01-06.01:13:30
SpamBayes Score 0.0067188297
Marked as misclassified No
Message-id <1231204412.44.0.941953810525.issue3826@psf.upfronthosting.co.za>
In-reply-to
Content
socket_real_close-5.patch: my own patch developed for the issue #4791 
(which is exactly the same problem) to fix SocketIO:
 - set self._sock=None on close
 - update the io reference count directly in close() (but also in 
destructor)
 - add a regression test

You may merge my patch with gps's patch (which has different tests).

See also issue #4853 to block all operations on closed socket in the 
low level API (socketmodule.c).
History
Date User Action Args
2009-01-06 01:13:32vstinnersetrecipients: + vstinner, loewis, jhylton, gregory.p.smith, amaury.forgeotdarc, ggenellina, zanella, romkyns
2009-01-06 01:13:32vstinnersetmessageid: <1231204412.44.0.941953810525.issue3826@psf.upfronthosting.co.za>
2009-01-06 01:13:31vstinnerlinkissue3826 messages
2009-01-06 01:13:30vstinnercreate