[New-bugs-announce] [issue6586] Documentation of os.write and os.read are inaccurate.

Chris Liechti report at bugs.python.org
Mon Jul 27 17:25:02 CEST 2009


New submission from Chris Liechti <cliechti at users.sourceforge.net>:

Documentation of os.write and os.read are inaccurate, it states that the
methods work with 'str' (or strings), which is wrong.

- os.write expects an instance of bytes or buffer
- os.read returns an instance of bytes

The implementation is OK, it fits well with the new io library but the
docs don't describe the implementation.

----------
assignee: georg.brandl
components: Documentation
messages: 90983
nosy: cliechti, georg.brandl
severity: normal
status: open
title: Documentation of os.write and os.read are inaccurate.
versions: Python 3.0, Python 3.1, Python 3.2

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


More information about the New-bugs-announce mailing list