R. David Murray <rdmur...@bitdance.com> added the comment:

(D) in python 3, os.popen has been reimplemented using subprocess.Popen.
So the other mentions of os.popen should probably be replaced with mentions of 
subprocess.Popen.

Your (C) is close...the continued existence of os.popen in Python3 is, I think, 
a bit of a kludge (I wasn't around for the discussion), but a backward 
compatibility one.  I don't know if there is a plan to deprecate it, but I 
suspect not.  On the other hand I certainly wouldn't recommend using it, since 
it does an import inside the function, which can get one into trouble if one 
uses threads.

----------
nosy: +r.david.murray

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue9382>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to