[Python-bugs-list] [ python-Bugs-550409 ] What does os.read() return on EOF?

noreply@sourceforge.net noreply@sourceforge.net
Tue, 30 Apr 2002 20:33:20 -0700


Bugs item #550409, was opened at 2002-04-29 18:21
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=550409&group_id=5470

Category: Documentation
Group: Python 2.2.1 candidate
>Status: Closed
>Resolution: Fixed
Priority: 5
Submitted By: Noah Spurrier (noah)
Assigned to: Fred L. Drake, Jr. (fdrake)
Summary: What does os.read() return on EOF?

Initial Comment:
You may want to note that os.read() returns 
(apparently) an empty string on EOF. This appears to 
be true of regular files and of file descriptor 
returned by pty.fork().

Yours,
Noah

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

>Comment By: Fred L. Drake, Jr. (fdrake)
Date: 2002-04-30 23:33

Message:
Logged In: YES 
user_id=3066

Added the information in Doc/lib/libos.tex revisions 1.84,
1.74.2.1.2.3, and 1.53.4.7.

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

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