Proposed extension to file constructor
staschuk at telusplanet.net
Tue Jun 3 22:18:51 CEST 2003
> I needed to extend popen functionality, so I modified the file
> constructor to optionally take a file descriptor. It was, in my opinion,
> the minimum way to do it while preserving isinstance(x, file).
Why is it necessary to preserve isinstance(x, file) in your usage
scenario? Most uses of files require only that the object be
Steven Taschuk staschuk at telusplanet.net
"What I find most baffling about that song is that it was not a hit."
-- Tony Dylan Davis (CKUA)
More information about the Python-list