[docs] [issue19060] docs: note that subprocess doesn't replace os.exec*

R. David Murray report at bugs.python.org
Wed Mar 12 00:19:41 CET 2014

R. David Murray added the comment:

Anastasia, thanks for the patch, but the change being suggested here is just the adding of the note that it does not replace os.exec or os.fork.  The listing of what things it does replace is already correct (it differs between python2 and python3, which is why Anatoly's list has things in it that aren't in the python3 doc).

Personally I don't think that adding the note is useful.  The list of things subprocess doesn't replace is much less well defined than what it does replace.  I think we should just list the former, as we do.

So, I prefer going with removing 'such as', and treating it as a bug if there is something in the stdlib that subprocess should (normally) be used in place of that is not included in this list.


Python tracker <report at bugs.python.org>

More information about the docs mailing list