[Python-Dev] Summary of Tracker Issues

2007-06-30 Thread Tracker
ACTIVITY SUMMARY (06/24/07 - 07/01/07) Tracker at http://bugs.python.org/ To view or respond to any of the issues listed below, click on the issue number. Do NOT respond to this message. 1645 open ( +0) / 8584 closed ( +0) / 10229 total ( +0) Average duration of open issues: 843 days. Medi

Re: [Python-Dev] Proposal for a new function "open_noinherit" to avoid problems with subprocesses and security risks

2007-06-30 Thread Martin v. Löwis
> I think the best place for it would be as a new method "set_noinherit" > for file and socket objects or as a new function in the os module > (thus the implementation should probably be rewritten at the C level). Indeed. Can you come up with a C implementation of it? I think it should be a functi

Re: [Python-Dev] Proposal for a new function "open_noinherit" to avoid problems with subprocesses and security risks

2007-06-30 Thread Henning von Bargen
> Martin v. Löwis wrote: > Exactly. My proposal is still to provide an API to toggle the > flag after the handle was created. OK, here is an API that I tested on Windows and for sockets only. Perhaps someone can test it on Non-Windows (Linux, for example?) I think the best place for it would be a