[Python-Dev] Heads up: socket.connect() breakage ahead

Fred L. Drake, Jr. fdrake@acm.org
Tue, 4 Apr 2000 10:20:19 -0400 (EDT)


Guido van Rossum writes:
 > Maybe I'll have to document it as connect(address) with a backwards
 > compatible syntax connect(a, b) being equivalent to connect((a, b)).
 > At least that sets the record straight without breaking old code.

  If you *must* support the two-arg flavor (which I've never actually
seen outside this discussion), I'd suggest not documenting it as a
backward compatibility, only that it will disappear in 1.7.  This can
be done fairly easily and cleanly in the library reference.


  -Fred

--
Fred L. Drake, Jr.	  <fdrake at acm.org>
Corporation for National Research Initiatives