[docs] [issue17529] fix os.senfile() documentation regarding the type of file descriptor
report at bugs.python.org
Sat Mar 23 13:14:47 CET 2013
New submission from Charles-François Natali:
os.sendfile() documentation states:
On Solaris, out may be the file descriptor of a regular file or the file descriptor of a socket. On all other platforms, out must be the file descriptor of an open socket.
This isn't true for Linux anymore (changed somewhere around 2.6.33), so it would probably be better to rephrase to something like "all platforms support sockets as out file descriptor, and some platforms allow other types (e.g. regular files) as well".
assignee: docs at python
nosy: docs at python, neologix
stage: needs patch
title: fix os.senfile() documentation regarding the type of file descriptor
versions: Python 3.3, Python 3.4
Python tracker <report at bugs.python.org>
More information about the docs