Proposed extension to file constructor

Taral taral at
Tue Jun 3 20:28:13 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).

The full discussion and patch is on sourceforge at
-- but someone said I should ask here to solicit comment on it.


Taral <taral at>
This message is digitally signed. Please PGP encrypt mail to me.
"Most parents have better things to do with their time than take care of
their children." -- Me
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
URL: <>

More information about the Python-list mailing list