This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author hvbargen
Recipients
Date 2007-02-19.10:22:22
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
I have submitted a new bug and referenced this patch from there.

I think subprocess.py should be patched in a similar way.
But, subprocess.py uses a "but" argument in _close_fds.
I think a correct solution should close all handles from 3 to but-1 in C using the usual "close()" API; and then close all handles from but+1 to MAX_FD by using the optimization with closefrom or fnctl.
History
Date User Action Args
2007-08-23 15:55:29adminlinkissue1607087 messages
2007-08-23 15:55:29admincreate