From: Antoine Pitrou Date: Tue, 8 Dec 2009 19:25:51 +0000 (+0000) Subject: Fix the transient refleaks in test_zipimport_support. X-Git-Tag: v2.7a2~201 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=8c54e7819add95f28dd6dc3a4bfcb9ca596b1073;p=thirdparty%2FPython%2Fcpython.git Fix the transient refleaks in test_zipimport_support. Diagnosis and original patch by Florent Xicluna (flox). --- diff --git a/Lib/test/script_helper.py b/Lib/test/script_helper.py index af5252c8c4f6..f29143057d40 100644 --- a/Lib/test/script_helper.py +++ b/Lib/test/script_helper.py @@ -30,7 +30,8 @@ def kill_python(p): data = p.stdout.read() p.stdout.close() # 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() return data diff --git a/Misc/ACKS b/Misc/ACKS index 28f7538e2920..57972ebec10b 100644 --- a/Misc/ACKS +++ b/Misc/ACKS @@ -819,6 +819,7 @@ Gordon Worley Thomas Wouters Heiko Wundram Doug Wyatt +Florent Xicluna Ka-Ping Yee Bob Yodlowski Danny Yoo