[issue3548] subprocess.pipe function

2010-08-23 Thread Anh Hai Trinh
Anh Hai Trinh anh.hai.tr...@gmail.com added the comment: I've written a package which can do this with arbitrary redirection in all subcommands (and some more). You can, for example, do this: Pipe(Sh('echo -n foo 2', {2: 1}), Sh('cat; echo ERROR 2', {2: os.devnull})).capture(1).read

[issue6280] calendar.timegm() belongs in time module, next to time.gmtime()

2009-10-08 Thread Anh Hai Trinh
Changes by Anh Hai Trinh anh.hai.tr...@gmail.com: -- nosy: +aht versions: +Python 2.6 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6280