[Python-Dev] marking os.system() as deprecated in the docs

anatoly techtonik techtonik at gmail.com
Mon Jul 26 19:48:06 CEST 2010


Is it possible to use subprocess functionality in os.system()? Just
exactly describe what it does instead of "This is implemented by
calling the Standard C function system(), and has the same
limitations." type sentences.

--
anatoly t.



On Mon, Jul 26, 2010 at 6:52 PM, A.M. Kuchling <amk at amk.ca> wrote:
> The current text is:
>
>    The subprocess module provides more powerful facilities for
>    spawning new processes and retrieving their results; using that
>    module is preferable to using this function. See the Replacing
>    Older Functions with the subprocess Module section in the
>    subprocess documentation for some helpful recipes.
>
> We could soften "using that module is preferable" to say "may be", or
> just delete that whole clause completely.
>
> --amk
> _______________________________________________
> Python-Dev mailing list
> Python-Dev at python.org
> http://mail.python.org/mailman/listinfo/python-dev
> Unsubscribe: http://mail.python.org/mailman/options/python-dev/techtonik%40gmail.com
>


More information about the Python-Dev mailing list