summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorNeal Norwitz <nnorwitz@gmail.com>2006-06-29 04:10:08 (GMT)
committerNeal Norwitz <nnorwitz@gmail.com>2006-06-29 04:10:08 (GMT)
commitb15ac3169d5958e294e09f8daeab0f413e76d0a3 (patch)
treeff74792d40f2cc3df15e253a431d74db40d7cfdd /Misc
parent10497c83ec9aaaedf89fbe7b79e27f2890fb6695 (diff)
downloadcpython-b15ac3169d5958e294e09f8daeab0f413e76d0a3.zip
cpython-b15ac3169d5958e294e09f8daeab0f413e76d0a3.tar.gz
cpython-b15ac3169d5958e294e09f8daeab0f413e76d0a3.tar.bz2
Add new utility function, reap_children(), to test_support. This should
be called at the end of each test that spawns children (perhaps it should be called from regrtest instead?). This will hopefully prevent some of the unexplained failures in the buildbots (hppa and alpha) during tests that spawn children. The problems were not reproducible. There were many zombies that remained at the end of several tests. In the worst case, this shouldn't cause any more problems, though it may not help either. Time will tell.
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS6
1 files changed, 6 insertions, 0 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index 9612812..8e83867 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -48,6 +48,12 @@ Build
- Bug #1513032: 'make install' failed on FreeBSD 5.3 due to lib-old
trying to be installed even though it's empty.
+Tests
+-----
+
+- Call os.waitpid() at the end of tests that spawn child processes in order
+ to minimize resources (zombies).
+
What's New in Python 2.5 beta 1?
================================