From 5ed2731cb0f53e72b77356bda77d9dc881737b1f Mon Sep 17 00:00:00 2001
From: Per Cederqvist <ceder@lysator.liu.se>
Date: Sat, 25 Oct 2003 23:02:59 +0000
Subject: [PATCH] Transfer exceptions from one process to another.  Rework the
 spawn API.

---
 ChangeLog | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

diff --git a/ChangeLog b/ChangeLog
index 9cc569c..7ce14ce 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,25 @@
+2003-10-26  Per Cederqvist  <ceder@ceder.dyndns.org>
+
+	Rework the spawn API.
+	* pcl_expect/spawn.py: Some documentation added.
+	(stty_init): Change default value to False instead of None.
+	(__use): New function.
+	(_inherit_stty): New function.
+	(_stty_init): New function.
+	(_spawn): New arguments: inherit_stty, stty_init.  Only inherit
+	stty settings if stdin is a tty.  If an exception occurs in the
+	child, transfer it to the parent as a remote_exception.Remote
+	object.
+	(Spawn.__init__): New optional arguments: inherit_stty, stty_init.
+	(spawn2): Pass all arguments to the Spawn constructor.
+
+	Transfer exceptions from one process to another.
+	* pcl_expect/remote_exception.py: New file.
+	(Remote): New class.
+	(Remote.__init__): New method.
+	(serialize): New function.
+	(re_raise): New function.
+
 2003-10-25  Per Cederqvist  <ceder@ceder.dyndns.org>
 
 	Write more doc.
-- 
GitLab