[issue12251] subprocess(..., stdout=sys.stderr) closes stderr for child

2011-06-03 Thread Марк Коренберг
New submission from Марк Коренберг socketp...@gmail.com: How to test: #! /usr/bin/python import subprocess, sys # will print err to sys.stderr subprocess.call(['rmdir', '/no_such_dir']) # will NOT print err to sys.stderr subprocess.call(['rmdir', '/no_such_dir'],

[issue12251] subprocess(..., stdout=sys.stderr) closes stderr for child

2011-06-03 Thread Alexey Smirnov
Changes by Alexey Smirnov alexey.smir...@gmx.com: -- nosy: +alexey-smirnov ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12251 ___ ___

[issue12251] subprocess(..., stdout=sys.stderr) closes stderr for child

2011-06-03 Thread Марк Коренберг
Марк Коренберг socketp...@gmail.com added the comment: patch (was not tested) attached -- keywords: +patch Added file: http://bugs.python.org/file7/z.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12251

[issue12251] subprocess(..., stdout=sys.stderr) closes stderr for child

2011-06-03 Thread Evgeny Tarasov
Changes by Evgeny Tarasov etarasov@gmail.com: -- nosy: +Evgeny.Tarasov ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12251 ___ ___

[issue12251] subprocess(..., stdout=sys.stderr) closes stderr for child

2011-06-03 Thread STINNER Victor
Changes by STINNER Victor victor.stin...@haypocalc.com: -- nosy: +haypo ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12251 ___ ___

[issue12251] subprocess(..., stdout=sys.stderr) closes stderr for child

2011-06-03 Thread Charles-François Natali
Charles-François Natali neolo...@free.fr added the comment: It's a duplicate of issue #10806, fixed in 2.7, 3.1 and 3.2. Closing. -- nosy: +charles-francois.natali resolution: - duplicate stage: - committed/rejected status: open - closed superseder: - Subprocess error if fds 0,1,2

[issue12251] subprocess(..., stdout=sys.stderr) closes stderr for child

2011-06-03 Thread Марк Коренберг
Марк Коренберг socketp...@gmail.com added the comment: Why not to backport to python 2.6 ? this is the bug, not a feature. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12251 ___

[issue12251] subprocess(..., stdout=sys.stderr) closes stderr for child

2011-06-03 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: Because 2.6 is in security-fix-only mode. -- nosy: +r.david.murray ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12251 ___