From b278ac4e46043809447116c19262efd33d7f742f Mon Sep 17 00:00:00 2001 From: Brett Cannon Date: Tue, 5 Aug 2003 03:51:24 +0000 Subject: Add note about fileno not being usable as a normal file descriptor in Windows. --- Doc/lib/libsocket.tex | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Doc/lib/libsocket.tex b/Doc/lib/libsocket.tex index 199b97f..de2f51d 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}{} -- cgit v0.12