Message113106
| 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.813776e-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 |
|