[ python-Bugs-1444104 ] os.open() Documentation

SourceForge.net noreply at sourceforge.net
Fri Mar 31 21:20:38 CEST 2006


Bugs item #1444104, was opened at 2006-03-06 13:04
Message generated for change (Comment added) made by gbrandl
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1444104&group_id=5470

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Documentation
Group: Feature Request
>Status: Closed
>Resolution: Fixed
Priority: 5
Submitted By: Thomas Guettler (guettli)
Assigned to: Nobody/Anonymous (nobody)
Summary: os.open() Documentation

Initial Comment:
Hi,

I think the note in the docu could be improved:

"""To read a ``file object'' returned by the built-in
function open() or by popen() or fdopen(), or
sys.stdin, use its read() or readline() methods."""

(I think) a better note:

"""To read a ``file object'' returned by the built-in
function open(), popen(), fdopen() or sys.stdin, use
its read() or readline() methods. You can convert the
file descriptor returned by os.open() to a file object
with [LINK os.fdopen()]"""

The same note is used for os.write().

At os.open() there should be a link to os.fdopen(), too.

----------------------------------------------------------------------

>Comment By: Georg Brandl (gbrandl)
Date: 2006-03-31 19:20

Message:
Logged In: YES 
user_id=849994

Added a note in rev. 43498.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1444104&group_id=5470


More information about the Python-bugs-list mailing list