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 <rep...@bugs.python.org>
<http://bugs.python.org/issue27050>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to