[Python-checkins] r74029 - python/trunk/Lib/subprocess.py

georg.brandl python-checkins at python.org
Thu Jul 16 23:47:52 CEST 2009


Author: georg.brandl
Date: Thu Jul 16 23:47:51 2009
New Revision: 74029

Log:
Revert r74028.

Modified:
   python/trunk/Lib/subprocess.py

Modified: python/trunk/Lib/subprocess.py
==============================================================================
--- python/trunk/Lib/subprocess.py	(original)
+++ python/trunk/Lib/subprocess.py	Thu Jul 16 23:47:51 2009
@@ -1066,10 +1066,10 @@
                     gc.disable()
                     try:
                         self.pid = os.fork()
-                    finally:
+                    except:
                         if gc_was_enabled:
                             gc.enable()
-
+                        raise
                     self._child_created = True
                     if self.pid == 0:
                         # Child


More information about the Python-checkins mailing list