[Python-Dev] deprecate commands.getstatus()
Guido van Rossum
guido at python.org
Fri Mar 16 18:27:01 CET 2007
On 3/16/07, Titus Brown <titus at caltech.edu> wrote:
> -> Yes. Another intermediate step might be to rewrite the commands module
> -> to call the new APIs in the subprocess module.
> My preference would be to push people towards subprocess, and the more
> capable & complex API there, by deprecating commands completely. I'm
> happy to do it either way.
Yeah, but the deprecation rules require that the commands module has
to stay around for at least one release; the quickest we can go is to
deprecate it in 2.6 and remove it in 2.7. However, it would be fine to
reimplement it in 2.6 using calls to subprocess.
Anyway, don't sweat it. Either way will be fine.
--Guido van Rossum (home page: http://www.python.org/~guido/)
More information about the Python-Dev