Revert r74028.

This commit is contained in:
Georg Brandl 2009-07-16 21:47:51 +00:00
parent 3601a38029
commit 3e8b869c9c

View file

@ -1066,10 +1066,10 @@ class Popen(object):
gc.disable() gc.disable()
try: try:
self.pid = os.fork() self.pid = os.fork()
finally: except:
if gc_was_enabled: if gc_was_enabled:
gc.enable() gc.enable()
raise
self._child_created = True self._child_created = True
if self.pid == 0: if self.pid == 0:
# Child # Child