10 Apr
2003
10 Apr
'03
7:46 p.m.
but note that file objects have a method fileno(), which returns a file descriptor. Its implementation is not #ifdefed in any way -- the C stdio library requires fileno() to exist!
Hmmm, I wasn't sure whether fileno() was a required part of stdio, or whether it only existed on unix-like systems. If it really is required, I guess it doesn't have to be 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 +--------------------------------------+