Proposed extension to file constructor

Taral taral at taral.net
Tue Jun 3 14:28:13 EDT 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
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=608182&group_id=5470
-- but someone said I should ask here to solicit comment on it.

Anyone?

-- 
Taral <taral at taral.net>
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: <http://mail.python.org/pipermail/python-list/attachments/20030603/52376b60/attachment.sig>


More information about the Python-list mailing list