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 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 <>
Sorry for posting to closed entry, but I think handle should be closed in Lib/ not in PC/_subprocess.c. I noticed following code showed strange error.

import subprocess

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

// error

close failed in file object destructor:
IOError: [Errno 9] Bad file descriptor
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: <>
2010-08-06 15:57:28ocean-citylinkissue3210 messages
2010-08-06 15:57:27ocean-citycreate