[issue26128] Let the subprocess.STARTUPINFO constructor take arguments

2017-03-24 Thread Nick Coghlan
Nick Coghlan added the comment: New changeset ae160bba2030a7b6c86f6c7aeaf2f9d3fdb627b7 by Nick Coghlan (Subhendu Ghosh) in branch 'master': bpo-26128: Added __init__to subprocess.STARTUPINFO (#171) https://github.com/python/cpython/commit/ae160bba2030a7b6c86f6c7aeaf2f9d3fdb627b7 --

[issue26128] Let the subprocess.STARTUPINFO constructor take arguments

2017-02-25 Thread Nick Coghlan
Nick Coghlan added the comment: Subhendu's PR has been merged. -- nosy: +ncoghlan ___ Python tracker ___ ___

[issue26128] Let the subprocess.STARTUPINFO constructor take arguments

2017-02-25 Thread Nick Coghlan
Changes by Nick Coghlan : -- resolution: -> fixed stage: needs patch -> resolved status: open -> closed versions: +Python 3.7 -Python 3.6 ___ Python tracker

[issue26128] Let the subprocess.STARTUPINFO constructor take arguments

2017-02-18 Thread Subhendu Ghosh
Changes by Subhendu Ghosh : -- nosy: +subho ___ Python tracker ___ ___ Python-bugs-list

[issue26128] Let the subprocess.STARTUPINFO constructor take arguments

2017-02-18 Thread Subhendu Ghosh
Changes by Subhendu Ghosh : -- pull_requests: +137 ___ Python tracker ___ ___

[issue26128] Let the subprocess.STARTUPINFO constructor take arguments

2016-01-26 Thread Martin Panter
Changes by Martin Panter : -- stage: -> needs patch ___ Python tracker ___ ___

[issue26128] Let the subprocess.STARTUPINFO constructor take arguments

2016-01-22 Thread Terry J. Reedy
Terry J. Reedy added the comment: STARTUPINFO is a class whose instances have 5 attributes. Being able to set attributes on creation is pretty normal. If one can optionally be set in __init__, same should be true for all. I would recommend that params be keyword-only. -- nosy:

[issue26128] Let the subprocess.STARTUPINFO constructor take arguments

2016-01-22 Thread Ram Rachum
Ram Rachum added the comment: Agreed on keywords-only. -- ___ Python tracker ___ ___ Python-bugs-list mailing

[issue26128] Let the subprocess.STARTUPINFO constructor take arguments

2016-01-15 Thread Ram Rachum
New submission from Ram Rachum: Right now when you want to use `subprocess.STARTUPINFO`, you need to do something like this: si = subprocess.STARTUPINFO() si.dwFlags = subprocess.STARTF_USESTDHANDLES subprocess.Popen(['whatever'], startupinfo=si) It would be much nicer to do