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@python
components: Documentation
messages: 185040
nosy: docs@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 <rep...@bugs.python.org>
<http://bugs.python.org/issue17529>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to