[Python-checkins] python/dist/src/Doc/lib libselect.tex,1.21,1.22

bcannon at users.sourceforge.net bcannon at users.sourceforge.net
Wed Sep 10 13:37:44 EDT 2003


Update of /cvsroot/python/python/dist/src/Doc/lib
In directory sc8-pr-cvs1:/tmp/cvs-serv12455/Doc/lib

Modified Files:
	libselect.tex 
Log Message:
select.select() now accepts a sequence (as defined by PySequence_Fast()) for
its first three arguments.

Closes RFE #798046 .


Index: libselect.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/lib/libselect.tex,v
retrieving revision 1.21
retrieving revision 1.22
diff -C2 -d -r1.21 -r1.22
*** libselect.tex	29 Apr 2003 13:56:40 -0000	1.21
--- libselect.tex	10 Sep 2003 19:37:42 -0000	1.22
***************
*** 33,42 ****
  \begin{funcdesc}{select}{iwtd, owtd, ewtd\optional{, timeout}}
  This is a straightforward interface to the \UNIX{} \cfunction{select()}
! system call.  The first three arguments are lists of `waitable
  objects': either integers representing file descriptors or
  objects with a parameterless method named \method{fileno()} returning
! such an integer.  The three lists of waitable objects are for input,
! output and `exceptional conditions', respectively.  Empty lists are
! allowed, but acceptance of three empty lists is platform-dependent.
  (It is known to work on \UNIX{} but not on Windows.)  The optional
  \var{timeout} argument specifies a time-out as a floating point number
--- 33,42 ----
  \begin{funcdesc}{select}{iwtd, owtd, ewtd\optional{, timeout}}
  This is a straightforward interface to the \UNIX{} \cfunction{select()}
! system call.  The first three arguments are sequences of `waitable
  objects': either integers representing file descriptors or
  objects with a parameterless method named \method{fileno()} returning
! such an integer.  The three sequences of waitable objects are for input,
! output and `exceptional conditions', respectively.  Empty sequences are
! allowed, but acceptance of three empty sequences is platform-dependent.
  (It is known to work on \UNIX{} but not on Windows.)  The optional
  \var{timeout} argument specifies a time-out as a floating point number
***************
*** 50,54 ****
  returned.
  
! Among the acceptable object types in the lists are Python file
  objects (e.g. \code{sys.stdin}, or objects returned by
  \function{open()} or \function{os.popen()}), socket objects
--- 50,54 ----
  returned.
  
! Among the acceptable object types in the sequences are Python file
  objects (e.g. \code{sys.stdin}, or objects returned by
  \function{open()} or \function{os.popen()}), socket objects





More information about the Python-checkins mailing list