From: Georg Brandl Date: Thu, 16 Jul 2009 21:47:51 +0000 (+0000) Subject: Revert r74028. X-Git-Tag: v2.7a1~761 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3e8b869c9cc051b20a492af55bd3ea82c536bf84;p=thirdparty%2FPython%2Fcpython.git Revert r74028. --- diff --git a/Lib/subprocess.py b/Lib/subprocess.py index 6d4652981c82..6b91f69f8caf 100644 --- a/Lib/subprocess.py +++ b/Lib/subprocess.py @@ -1066,10 +1066,10 @@ class Popen(object): 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