You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
assignee=Noneclosed_at=<Date2013-05-01.13:17:36.381>created_at=<Date2013-03-23.12:14:47.641>labels= ['type-bug', 'docs']
title='fix os.sendfile() documentation regarding the type of file descriptor'updated_at=<Date2013-05-01.13:17:36.381>user='https://bugs.python.org/neologix'
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".
neologixmannequin
changed the title
fix os.senfile() documentation regarding the type of file descriptor
fix os.sendfile() documentation regarding the type of file descriptor
Mar 23, 2013
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: