os.system question

Wojtek Walczak gminick at nie.ma.takiego.adresu.w.sieci.pl
Wed Aug 13 17:09:05 EDT 2008


Dnia Wed, 13 Aug 2008 22:03:49 +0200, Fredrik Lundh napisa³(a):

> not talking for the 3.X developers here, but os.popen is a binding to 
> the POSIX popen function, so I'm not sure it makes that much sense to 
> actually deprecate it.
>
> the os.popen[234], popen2, and commands stuff are different -- they're a 
> a series of attempts to provide more functionality by building on 
> lower-level primitives, something that the subprocess module does a lot 
> better.

This makes sense. My idea that some developer had forgotten to add
the deprecation warning for os.popen() goes to the bin.


-- 
Regards,
Wojtek Walczak,
http://www.stud.umk.pl/~wojtekwa/



More information about the Python-list mailing list