[Python-checkins] cpython: Add Misc/NEWS "What's New" entry for subprocess timeouts.

reid.kleckner python-checkins at python.org
Mon Apr 11 04:25:36 CEST 2011


http://hg.python.org/cpython/rev/9140f2363623
changeset:   69247:9140f2363623
user:        Reid Kleckner <reid at kleckner.net>
date:        Sun Apr 10 22:23:08 2011 -0400
summary:
  Add Misc/NEWS "What's New" entry for subprocess timeouts.

files:
  Misc/NEWS |  5 +++++
  1 files changed, 5 insertions(+), 0 deletions(-)


diff --git a/Misc/NEWS b/Misc/NEWS
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -10,6 +10,11 @@
 Core and Builtins
 -----------------
 
+- Issue #5673: Added a `timeout` keyword argument to subprocess.Popen.wait,
+  subprocess.Popen.communicated, subprocess.call, subprocess.check_call, and
+  subprocess.check_output.  If the blocking operation takes more than `timeout`
+  seconds, the `subprocess.TimeoutExpired` exception is raised.
+
 - Issue #11650: PyOS_StdioReadline() retries fgets() if it was interrupted
   (EINTR), for example if the program is stopped with CTRL+z on Mac OS X. Patch
   written by Charles-Francois Natali.

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list