[Python-3000] socket GC worries

Guido van Rossum guido at python.org
Tue Oct 30 17:31:07 CET 2007


2007/10/30, Bill Janssen <janssen at parc.com>:
> Indeed.  The httplib code is relying on the fact that close(), under
> certain circumstances, has no effect.  It's just that the
> circumstances have changed, in Python 3K.  I think that the close() in
> HTTPConnection should be removed.

I'd like to have an opinion, but this is not my code and there don't
seem to be enough unittests to make sure that removing that close()
doesn't break anything.

I'd love to work on this more in-depth but it'll have to wait until
after PEP 3137 is finished.

-- 
--Guido van Rossum (home page: http://www.python.org/~guido/)


More information about the Python-3000 mailing list