[Python-Dev] Placement of os.fdopen functionality

Greg Ewing greg@cosc.canterbury.ac.nz
Mon, 07 Apr 2003 12:56:35 +1200 (NZST)

Jp Calderone <exarkun@intarweb.us>:

> perhaps os.fdopen would be more logically placed someplace else -
> Perhaps as a class method of the file type, file.fromfd()?

Not all OSes have the notion of a file descriptor, which is probably
why it's in the os module.

Greg Ewing, Computer Science Dept, +--------------------------------------+
University of Canterbury,	   | A citizen of NewZealandCorp, a	  |
Christchurch, New Zealand	   | wholly-owned subsidiary of USA Inc.  |
greg@cosc.canterbury.ac.nz	   +--------------------------------------+