Fix the transient refleaks in test_zipimport_support.

Diagnosis and original patch by Florent Xicluna (flox).
This commit is contained in:
Antoine Pitrou 2009-12-08 19:25:51 +00:00
parent a254302f52
commit 8c54e7819a
2 changed files with 3 additions and 1 deletions

View File

@ -30,7 +30,8 @@ def kill_python(p):
data = p.stdout.read() data = p.stdout.read()
p.stdout.close() p.stdout.close()
# try to cleanup the child so we don't appear to leak when running # try to cleanup the child so we don't appear to leak when running
# with regrtest -R. This should be a no-op on Windows. # with regrtest -R.
p.wait()
subprocess._cleanup() subprocess._cleanup()
return data return data

View File

@ -819,6 +819,7 @@ Gordon Worley
Thomas Wouters Thomas Wouters
Heiko Wundram Heiko Wundram
Doug Wyatt Doug Wyatt
Florent Xicluna
Ka-Ping Yee Ka-Ping Yee
Bob Yodlowski Bob Yodlowski
Danny Yoo Danny Yoo