This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Title: Documentation of os.write and are inaccurate.
Type: Stage:
Components: Documentation Versions: Python 3.0, Python 3.1, Python 3.2
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 2022-04-11 14:56 by admin. This issue is now closed.

Messages (2)
msg90983 - (view) Author: Chris Liechti (cliechti) Date: 2009-07-27 15:24
Documentation of os.write and are inaccurate, it states that the
methods work with 'str' (or strings), which is wrong.

- os.write expects an instance of bytes or buffer
- 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.
Date User Action Args
2022-04-11 14:56:51adminsetgithub: 50835
2009-07-29 16:14:28georg.brandlsetstatus: open -> closed
resolution: fixed
messages: + msg91042
2009-07-27 15:25:00cliechticreate