[Python-checkins] CVS: python/dist/src/Doc/lib libsocket.tex,1.42,1.43
Fred Drake
python-dev@python.org
Tue, 4 Apr 2000 13:48:33 -0400
Update of /projects/cvsroot/python/dist/src/Doc/lib
In directory seahag.cnri.reston.va.us:/home/fdrake/projects/python/Doc/lib
Modified Files:
libsocket.tex
Log Message:
Added notes about the eventual disappearance of two-parameter bind(),
connect(), and connect_ex().
I didn't make these deprecation notices since it was never a
documented feature.
Index: libsocket.tex
===================================================================
RCS file: /projects/cvsroot/python/dist/src/Doc/lib/libsocket.tex,v
retrieving revision 1.42
retrieving revision 1.43
diff -C2 -r1.42 -r1.43
*** libsocket.tex 2000/04/03 20:13:54 1.42
--- libsocket.tex 2000/04/04 17:48:30 1.43
***************
*** 248,252 ****
\begin{methoddesc}[socket]{bind}{address}
Bind the socket to \var{address}. The socket must not already be bound.
! (The format of \var{address} depends on the address family --- see above.)
\end{methoddesc}
--- 248,256 ----
\begin{methoddesc}[socket]{bind}{address}
Bind the socket to \var{address}. The socket must not already be bound.
! (The format of \var{address} depends on the address family --- see
! above.) \strong{Note:} This method has historically accepted a pair
! of parameters for \constant{AF_INET} addresses instead of only a
! tuple. This was never intentional and will no longer be available in
! Python 1.7.
\end{methoddesc}
***************
*** 260,264 ****
Connect to a remote socket at \var{address}.
(The format of \var{address} depends on the address family --- see
! above.)
\end{methoddesc}
--- 264,271 ----
Connect to a remote socket at \var{address}.
(The format of \var{address} depends on the address family --- see
! above.) \strong{Note:} This method has historically accepted a pair
! of parameters for \constant{AF_INET} addresses instead of only a
! tuple. This was never intentional and will no longer be available in
! Python 1.7.
\end{methoddesc}
***************
*** 270,273 ****
--- 277,284 ----
operation succeeded, otherwise the value of the \cdata{errno}
variable. This is useful, e.g., for asynchronous connects.
+ \strong{Note:} This method has historically accepted a pair of
+ parameters for \constant{AF_INET} addresses instead of only a tuple.
+ This was never intentional and will no longer be available in Python
+ 1.7.
\end{methoddesc}