[Python-Dev] Rewrite os.popen using subprocess.Popen?

Nestor nestornissen at gmail.com
Wed Jun 10 04:58:47 CEST 2009


pydoc.py uses os.popen once on line 1359. According to the
documentation that function is deprecated since Python 2.6. Does it
make sense to rewrite that line using the newer subprocess instead?

I am asking because os.popen stopped working for me in Python 3.1 but
I don't know if it is worth investing time in a module that is
deprecated when the newer one does work.

http://bugs.python.org/issue6236


More information about the Python-Dev mailing list