classification
Title: Documentation of os.write and os.read are inaccurate.
Type: Stage:
Components: Documentation Versions: Python 3.0, Python 3.1, Python 3.2
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: georg.brandl Nosy List: cliechti, georg.brandl
Priority: normal Keywords:

Created on 2009-07-27 15:25 by cliechti, last changed 2009-07-29 16:14 by georg.brandl. This issue is now closed.

Messages (2)
msg90983 - (view) Author: Chris Liechti (cliechti) Date: 2009-07-27 15:24
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.
msg91042 - (view) Author: Georg Brandl (georg.brandl) * (Python committer) Date: 2009-07-29 16:14
Thanks, fixed in r74254.
History
Date User Action Args
2009-07-29 16:14:28georg.brandlsetstatus: open -> closed
resolution: fixed
messages: + msg91042
2009-07-27 15:25:00cliechticreate