[issue24420] Documentation regressions from adding subprocess.run()

2015-07-25 Thread Berker Peksag

Berker Peksag added the comment:

Thanks Martin.

--
resolution:  - fixed
stage: commit review - resolved
status: open - closed

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24420
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue24420] Documentation regressions from adding subprocess.run()

2015-07-25 Thread Roundup Robot

Roundup Robot added the comment:

New changeset bedff93d778d by Berker Peksag in branch '3.5':
Issue #24420: Fix documentation regression introduced by f0a00ee094ff.
https://hg.python.org/cpython/rev/bedff93d778d

New changeset 9b17df697a3c by Berker Peksag in branch 'default':
Issue #24420: Fix documentation regression introduced by f0a00ee094ff.
https://hg.python.org/cpython/rev/9b17df697a3c

--
nosy: +python-dev

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24420
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue24420] Documentation regressions from adding subprocess.run()

2015-06-29 Thread Martin Panter

Martin Panter added the comment:

New patch dropping the [, input] parameter from the signature. I also removed 
the bit about *stdout*, since it should be obvious from the equivalent run() 
call given, and equally applies to *check*.

--
Added file: http://bugs.python.org/file39831/high-args.v2.patch

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24420
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue24420] Documentation regressions from adding subprocess.run()

2015-06-22 Thread Martin Panter

Changes by Martin Panter vadmium...@gmail.com:


--
stage: patch review - commit review

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24420
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue24420] Documentation regressions from adding subprocess.run()

2015-06-11 Thread Serhiy Storchaka

Changes by Serhiy Storchaka storch...@gmail.com:


--
nosy: +serhiy.storchaka

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24420
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue24420] Documentation regressions from adding subprocess.run()

2015-06-10 Thread Thomas Kluyver

Thomas Kluyver added the comment:

Thanks, this looks good to me.

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24420
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue24420] Documentation regressions from adding subprocess.run()

2015-06-09 Thread Martin Panter

New submission from Martin Panter:

After the documentation was rearranged by Issue 23342 (revision f0a00ee094ff), 
the “older high-level APIs” lost the paragraphs that said “The arguments shown 
above are merely the most common ones”. Given the limited signatures of call(), 
check_call() and check_output(), it is now too easy to assume that these 
functions do not accept the less-common Popen arguments.

Also, in that issue I discovered an awkward edge case: there is actually no 
default value for the check_output() input parameter. Without an “input” 
parameter, the subprocess inherits its parent’s input, but input=None is 
equivalent to passing an empty string of the correct type.

This patch hopefully fixes both problems.

--
assignee: docs@python
components: Documentation
files: high-args.patch
keywords: patch
messages: 245111
nosy: docs@python, takluyver, vadmium
priority: normal
severity: normal
status: open
title: Documentation regressions from adding subprocess.run()
type: behavior
versions: Python 3.5, Python 3.6
Added file: http://bugs.python.org/file39671/high-args.patch

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24420
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue24420] Documentation regressions from adding subprocess.run()

2015-06-09 Thread Berker Peksag

Changes by Berker Peksag berker.pek...@gmail.com:


--
nosy: +berker.peksag
stage:  - patch review

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24420
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com