[Python-Dev] Py3K thought: use external library for client-side HTTP (original) (raw)

A.M. Kuchling amk at amk.ca
Sat Mar 18 00:26:49 CET 2006


Thought: We should drop all of httplib, urllib, urllib2, and ftplib, and instead adopt some third-party library for HTTP/FTP/whatever, write a Python wrapper, and use it instead. (The only such library I know of is libcurl, but doubtless there are other candidates; see http://curl.haxx.se/libcurl/competitors.html for a list.)

Rationale:

A downside: these libraries would be in C, and might be the source of security bugs. Python code may be buggy, but probably won't fall prey to buffer overflow. We'd also have to keep in sync with the library.

Similar arguments could be made for a server-side solution, but here I have no idea what we might choose. A server-side HTTP implementation

Good idea? Dumb idea?

--amk



More information about the Python-Dev mailing list