From: Brett Cannon Date: Tue, 5 Aug 2003 03:51:24 +0000 (+0000) Subject: Add note about fileno not being usable as a normal file descriptor in Windows. X-Git-Tag: v2.4a1~1802 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=b278ac4e46043809447116c19262efd33d7f742f;p=thirdparty%2FPython%2Fcpython.git Add note about fileno not being usable as a normal file descriptor in Windows. --- diff --git a/Doc/lib/libsocket.tex b/Doc/lib/libsocket.tex index 199b97f314d0..de2f51d89160 100644 --- a/Doc/lib/libsocket.tex +++ b/Doc/lib/libsocket.tex @@ -480,6 +480,10 @@ This was never intentional and is no longer be available in Python \begin{methoddesc}[socket]{fileno}{} Return the socket's file descriptor (a small integer). This is useful with \function{select.select()}. + +Under Windows the small integer returned by this method cannot be used where +a file descriptor can be used (such as \function{os.fdopen()}). \UNIX{} does +not have this limitation. \end{methoddesc} \begin{methoddesc}[socket]{getpeername}{}