[docs] [issue17529] fix os.senfile() documentation regarding the type of file descriptor

Charles-François Natali 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
components: Documentation
messages: 185040
nosy: docs at python, neologix
priority: normal
severity: normal
stage: needs patch
status: open
title: fix os.senfile() documentation regarding the type of file descriptor
type: behavior
versions: Python 3.3, Python 3.4

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue17529>
_______________________________________


More information about the docs mailing list