Excerpts from Tomeu Vizoso's message of Wed Sep 08 11:00:13 +0200 2010:

> > +class TimeoutHTTP(httplib.HTTP):
> 
> http://docs.python.org/library/httplib.html says:
> 
> Note
> 
> The public interface for this module changed substantially in Python
> 2.0. The HTTP class is retained only for backward compatibility with
> 1.5.2. It should not be used in new code. Refer to the online
> docstrings for usage.
> 
> Have you considered using the non-deprecated APIs?

I originally meant to say that as well, but double-checked the original
code and discovered that xmlrpclib (a stock Python module) uses the same
API internally. There's a good chance that switching to the newer classes
would require reimplementing large parts of xmlrpclib.

Sascha

--
http://sascha.silbe.org/
http://www.infra-silbe.de/

Attachment: signature.asc
Description: PGP signature

_______________________________________________
Sugar-devel mailing list
[email protected]
http://lists.sugarlabs.org/listinfo/sugar-devel

Reply via email to