On Wed, Jan 29, 2014 at 3:39 PM, Victor Stinner <[email protected]> wrote: > 2014-01-29 Andrew Svetlov <[email protected]>: >> And using stdin=None doesn't make sense at all: if program requires some >> user input it unlikely should hang on blocking call waiting of some typing >> on keyboard. > > It makes sense, stdin is shared with python, it's usually a TTY. For > example, you can be asked for a password. It's the same when you run > sudo in a shell script. > > stdin=None is the default in Python and I cannot remember someone > complaining about that. >
Ok, I agree. The main reason for me is: don't change subprocess default and don't confuse users, defaults are good enough and safe. So I'm +1 for changing defaults in AbstractEventLoop also if now is not too late. > Victor -- Thanks, Andrew Svetlov
