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 jhylton
Recipients Robert.Buchholz, jhylton, r.david.murray, sijinjoseph
Date 2010-02-21.22:56:36
SpamBayes Score 0.00046302323
Marked as misclassified No
Message-id <e8bf7a531002211456v7d99c833rbc07d666f5c33455@mail.gmail.com>
In-reply-to <1266791900.19.0.0648832406097.issue7806@psf.upfronthosting.co.za>
Content
On Sun, Feb 21, 2010 at 5:38 PM, Robert Buchholz <report@bugs.python.org> wrote:
>
> Robert Buchholz <rbu@freitagsrunde.org> added the comment:
>
> almost... HTTPConnection is calling close() on the socket object, but HTTPResponse still has an open file-like object from a previous makefile() call. That object still has an internal reference to the socket.

That's right.  The makefile() method on sockets works that way, and
the HTTP library depends on that behavior (and pretty much always
has).

Jeremy

>
> ----------
>
> _______________________________________
> Python tracker <report@bugs.python.org>
> <http://bugs.python.org/issue7806>
> _______________________________________
>
History
Date User Action Args
2010-02-21 22:56:37jhyltonsetrecipients: + jhylton, r.david.murray, sijinjoseph, Robert.Buchholz
2010-02-21 22:56:36jhyltonlinkissue7806 messages
2010-02-21 22:56:36jhyltoncreate