Thomas Kluyver added the comment:

Third version of the patch (subprocess_run3):

- Simplifies the documentation of the trio (call, check_call, check_output) to 
describe them in terms of the equivalent run() call.
- Remove a warning about using PIPE with check_output - I believe this was 
already incorrect, since check_output uses .communicate() internally, it 
shouldn't have deadlock issues.
- Replace the implementation of check_output() with a call to run().

I didn't reimplement call or check_call - as previously discussed, they are 
more different from the code in run(), so subtly breaking things is more 
possible. They are also simpler.

----------
Added file: http://bugs.python.org/file37991/subprocess_run3.patch

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue23342>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to