[Python-Dev] sock.close() not closing?
Greg Ewing
greg.ewing at canterbury.ac.nz
Thu May 8 02:56:39 CEST 2008
Bill Janssen wrote:
> The HTTP client-side library calls "makefile" on the socket, then
> closes it, then passes the file returned from "makefile" on to
> application code to work with.
Seems to me we really need two different APIs for
doing a makefile()-like operation, depending on
whether you're expecting to get a copy of the
file descriptor or not.
--
Greg
More information about the Python-Dev
mailing list