homepage

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, georg.brandl, gregory.p.smith, jwilk, milko.krachounov, ned.deily, paul.moore, vstinner
Date 2010年12月13日.10:02:48
SpamBayes Score 4.9584226e-12
Marked as misclassified No
Message-id <1292234573.8.0.93576847893.issue7213@psf.upfronthosting.co.za>
In-reply-to
Content
Hi Gregory,
will you backport Mirko's patches to subprocess32?
The last thing left in this bug is my proposal to change the default of close_fds to True to Windows too, but at the same time detect whether this is possible or not (depending on the pipe redirections). 
So basically close_fds=True would be changed to mean "close the FDs, if it is possible, otherwise never mind". This is not a break in compatibility on Linux/UNIX (where it is always "possible"), nor Windows (where currently it just raises a ValueError if you ask it to raise close the file descriptors while doing redirections).
The rationale for this change is again cross-compatibility. I don't like when my code breaks because of a limitation of an OS that has a clear workaround. Subprocess is a high-level library after all, it's not like os.fork() or similar low-level libraries which expose the underlying platform differences.
History
Date User Action Args
2010年12月13日 10:02:54Giovanni.Bajosetrecipients: + Giovanni.Bajo, georg.brandl, gregory.p.smith, paul.moore, vstinner, jwilk, ned.deily, milko.krachounov
2010年12月13日 10:02:53Giovanni.Bajosetmessageid: <1292234573.8.0.93576847893.issue7213@psf.upfronthosting.co.za>
2010年12月13日 10:02:49Giovanni.Bajolinkissue7213 messages
2010年12月13日 10:02:48Giovanni.Bajocreate

AltStyle によって変換されたページ (->オリジナル) /