commit | 3e8b869c9cc051b20a492af55bd3ea82c536bf84 | [log] [tgz] |
---|---|---|
author | Georg Brandl <georg@python.org> | Thu Jul 16 21:47:51 2009 +0000 |
committer | Georg Brandl <georg@python.org> | Thu Jul 16 21:47:51 2009 +0000 |
tree | bef1cfda505faaa694fbc0861ff809f59a67c967 | |
parent | 3601a38029265c6b594ba39ed4993debdd351e27 [diff] [blame] |
Revert r74028.
diff --git a/Lib/subprocess.py b/Lib/subprocess.py index 6d46529..6b91f69 100644 --- a/Lib/subprocess.py +++ b/Lib/subprocess.py
@@ -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