[docs] [issue27050] Demote run() below the high level APIs in subprocess docs
Thomas Kluyver
report at bugs.python.org
Wed May 18 04:08:41 EDT 2016
Thomas Kluyver added the comment:
I'm obviously biased, but I find the 'high level convenience API' less convenient than the run() function: there are three different functions for the same basic operation, they're not clearly named (check_output is nothing to do with checking output), and there are things that should be simple but they can only do awkwardly (i.e. capturing both output and the exit code).
Once I can depend on Python >= 3.5, I hope to never use call/check_call/check_output again. Using run() might make code slightly longer, but I think it also makes it clearer. I accept that the trio can probably never be removed, but this is why I demoted them a long way down the docs.
Unfortunately I won't be at PyCon this year to discuss this.
----------
nosy: +takluyver
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue27050>
_______________________________________
More information about the docs
mailing list