commit | ad28c7f9dad791567afa0624acfb3ba430851965 | [log] [tgz] |
---|---|---|
author | Andrew Svetlov <andrew.svetlov@gmail.com> | Tue Dec 18 22:02:39 2012 +0200 |
committer | Andrew Svetlov <andrew.svetlov@gmail.com> | Tue Dec 18 22:02:39 2012 +0200 |
tree | 02095e5f567d6be1de31ffd858d21233b51675dd | |
parent | a19195984922ce89e7695c93b3bb45c3e0e6d732 [diff] |
Issue #16706: get rid of os.error
diff --git a/Lib/multiprocessing/forking.py b/Lib/multiprocessing/forking.py index a0b3d68..d3e7a10 100644 --- a/Lib/multiprocessing/forking.py +++ b/Lib/multiprocessing/forking.py
@@ -111,7 +111,7 @@ if self.returncode is None: try: pid, sts = os.waitpid(self.pid, flag) - except os.error: + except OSError: # Child process not yet created. See #1731717 # e.errno == errno.ECHILD == 10 return None