Author ocean-city
Recipients brian.curtin, gjb1002, gregory.p.smith, markmentovai, ocean-city, terry.reedy, tim.golden, twhitema
Date 2010-08-06.15:57:27
SpamBayes Score 9.81378e-05
Marked as misclassified No
Message-id <1281110252.63.0.975899206699.issue3210@psf.upfronthosting.co.za>
In-reply-to
Content
Sorry for posting to closed entry, but I think handle should be closed in Lib/subprocess.py not in PC/_subprocess.c. I noticed following code showed strange error.

import subprocess

for _ in xrange(2):
    stdout = open("stdout.txt", "w")
    try:
        p = subprocess.Popen(["unknown"], stdout=stdout)
    except WindowsError:
        pass

// error

close failed in file object destructor:
IOError: [Errno 9] Bad file descriptor
History
Date User Action Args
2010-08-06 15:57:32ocean-citysetrecipients: + ocean-city, terry.reedy, gregory.p.smith, gjb1002, tim.golden, twhitema, markmentovai, brian.curtin
2010-08-06 15:57:32ocean-citysetmessageid: <1281110252.63.0.975899206699.issue3210@psf.upfronthosting.co.za>
2010-08-06 15:57:28ocean-citylinkissue3210 messages
2010-08-06 15:57:27ocean-citycreate