Python 1.6 alpha 1 released

Moshe Zadka moshez at math.huji.ac.il
Tue Apr 4 11:40:09 EDT 2000


On 4 Apr 2000, Martijn Faassen wrote:

> And what Tres also mentioned was the external interfaces of ftplib,
> etc. A quick glance at the 1.6 alpha shows that they also have separate
> host/port arguments. It would seem inconsistent to change 'connect' to use
> tuples in one case, but 'connect' in ftplib a host and port argument..

This is a compelling argument, but a wrong one. You see, FTP is an
internet level protocol -- it always uses network sockets, and so can
expose a simpler interface. The socket module should support all kinds of
sockets (like UNIX domain sockets), so its interface must remain general.

--
Moshe Zadka <mzadka at geocities.com>. 
http://www.oreilly.com/news/prescod_0300.html
http://www.linux.org.il -- we put the penguin in .com





More information about the Python-list mailing list