• Gregory P. Smith's avatar
    issue7213 + issue2320: Cause a DeprecationWarning if the close_fds argument is · d23047b6
    Gregory P. Smith authored
    not passed to subprocess.Popen as the default value will be changing in a
    future Python to the safer and more often desired value of True.
    
    DeprecationWarnings that show up in a lot of existing code are controversial
    and have caused pain in the past.  I'd like to leave this on for 3.2 beta1 and
    see how things go.  We can remove the warning if it is deemed too noisy during
    any betas.  (case study: the md5 and sha module DeprecationWarnings are loathed
    around the world as those modules were never going to be removed in 2.x and
    2to3 has a fixer for code that uses them)
    d23047b6
test_subprocess.py 50.4 KB