A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2000-April/003083.html below:

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

[Python-Dev] Heads up: socket.connect() breakage ahead [Python-Dev] Heads up: socket.connect() breakage aheadFred 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




RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4