Python 1.6 alpha 1 released

Vladimir Ulogov gandalf at
Fri Mar 31 23:56:16 CEST 2000


"""where you used to write sock.connect(host, port) you must now write
sock.connect((host, port))"""

Is it possible to keep old notation ? I'm understand (according you past
mail about parameters of the connect) this may be not what you has have in
mind, but we do use this notation "a lot" and for us it will means to
create workaround for socket.connect function. It's inconvinient. In
general, I'm thinknig the socket.connect(Host, Port) looks prettier :))
than socket.connect((Host, Port))

More information about the Python-list mailing list