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, loewis, romkyns, zanella
Date 2008-11-29.14:38:45
SpamBayes Score 1.752597e-05
Marked as misclassified No
Message-id <1227969526.6.0.750967104985.issue3826@psf.upfronthosting.co.za>
In-reply-to
Content
But real_close() is not called either in the trivial socket use:

import socket
s=socket.socket()
s.connect(('www.python.org',80))
del s

OTOH, I added some printf statements in socketmodule.c, near all usages 
of SOCKETCLOSE(). They show that the raw socket is closed as expected - 
except in the following case:

import socket
s=socket.socket()
s.connect(('www.python.org',80))
x=s.makefile()
x.close()
del s
History
Date User Action Args
2008-11-29 14:38:46amaury.forgeotdarcsetrecipients: + amaury.forgeotdarc, gvanrossum, loewis, jhylton, gregory.p.smith, ggenellina, zanella, romkyns
2008-11-29 14:38:46amaury.forgeotdarcsetmessageid: <1227969526.6.0.750967104985.issue3826@psf.upfronthosting.co.za>
2008-11-29 14:38:45amaury.forgeotdarclinkissue3826 messages
2008-11-29 14:38:45amaury.forgeotdarccreate