[Python-Dev] the FakeSocket class in httplib.py -- remove it?

Brett Cannon brett at python.org
Fri Aug 31 20:06:53 CEST 2007


On 8/31/07, Bill Janssen <janssen at parc.com> wrote:
> I'm wondering if it would be OK to remove the FakeSocket class in
> httplib?  Actually, it's currently a function that returns one of its
> arguments.  It's not documented as part of the module, and not used
> elsewhere in the rest of the library.

Since I assume that includes unit tests, I have no issue seeing it go
away, especially if it is not being kept up-to-date.  But I am willing
to bet someone out there is using it so it might be best to add a
DeprecationWarning for 2.6 and then remove in 3.0/2.7.

-Brett


More information about the Python-Dev mailing list