Milko Krachounov <pyt...@milko.3mhz.net> added the comment:

> I'm +1 on it, but I think it should be the default; instead, 
> your proposed patch adds a new argument to the public API. Why do you 
> think it's necessary to do so?

I don't think it's necessary. I put it there because when I was testing I 
thought it might help. For example, you might want to keep the pipes open and 
then open another process with close_fds=False, thus changing the current 
default might cause some regressions in some software and an argument would 
allow an easier transition. I updated the patch removing anything unnecessary. 
Though it still has a huge race when used with threading.

----------
Added file: http://bugs.python.org/file20000/subprocess-cloexec-py3k.patch

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue7213>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to