[docs] [issue9382] os.popen referenced but not documented in Python 3.x

STINNER Victor report at bugs.python.org
Wed May 25 01:30:38 CEST 2011


STINNER Victor <victor.stinner at haypocalc.com> added the comment:

> The entire os.popen*() family is supposed be gone in Python 3.x

os.popen2(), os.popen3() and os.popen4() were removed in Python 3.0, but os.popen() was kept. Guido wants to keep it because it has a nicer API than subprocess.Popen. I'm too lazy to replace all calls to os.popen() by subprocess.Popen in the Python code base: it's still widely used. Hum, I'm unable to find the issue giving more details about this choice (keep os.popen).

The os.popen() doc should be restored. Can you work on a patch?

----------
nosy: +haypo

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue9382>
_______________________________________


More information about the docs mailing list