This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Giovanni.Bajo
Recipients Giovanni.Bajo, gregory.p.smith, milko.krachounov, paul.moore
Date 2010-12-10.16:46:12
SpamBayes Score 0.00044729584
Marked as misclassified No
Message-id <1291999580.04.0.401878594715.issue7213@psf.upfronthosting.co.za>
In-reply-to
Content
Hi Gregory, I saw your commit here:
http://code.activestate.com/lists/python-checkins/91914/

This basically means that in 3.2 it is mandatory to specify close_fds to avoid a DeprecationWarning. *BUT* there is no good value that works both on Windows and Linux if you redirect stdout/stderr, as shown in this bug.

So basically in 3.2 to avoid a warning, each and every usage of Popen() with a redirection should be guarded by an if that checks the platform. I don't think this is acceptable.

Have I misunderstood something? Also: can you please explain how the behaviour is going to change in 3.3? I assume that you are planning to change the default to True; but would that also cover Windows' singularity in redirection cases?
History
Date User Action Args
2010-12-10 16:46:20Giovanni.Bajosetrecipients: + Giovanni.Bajo, gregory.p.smith, paul.moore, milko.krachounov
2010-12-10 16:46:20Giovanni.Bajosetmessageid: <1291999580.04.0.401878594715.issue7213@psf.upfronthosting.co.za>
2010-12-10 16:46:13Giovanni.Bajolinkissue7213 messages
2010-12-10 16:46:12Giovanni.Bajocreate