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

Steven D'Aprano steve at pearwood.info
Mon Jul 26 17:19:18 CEST 2010


On Mon, 26 Jul 2010 04:42:06 pm Chris Rebert wrote:
> Hello,
>
> I'd like to propose formally marking os.system() as deprecated in the
> docs for next release of Python (v3.2 ?).

-0.5 on that. I often use os.system() for quick and dirty scripts that 
just call an external process without caring what the output is.

But perhaps os.system() should become an alias for subprocess.system() 
in 3.2, then deprecated in 3.3 and removed (from os only) in 3.4?



-- 
Steven D'Aprano


More information about the Python-Dev mailing list