--- a/Lib/asyncio/unix_events.py Thu Feb 05 11:46:45 2015 +0100 |
+++ b/Lib/asyncio/unix_events.py Thu Feb 05 12:02:08 2015 +0100 |
@@ -48,6 +48,12 @@ class _UnixSelectorEventLoop(selector_ev |
super().__init__(selector) |
self._signal_handlers = {} |
+ def _at_fork(self): |
+ super()._at_fork() |
+ self._selector._at_fork() |
+ self._close_self_pipe() |
+ self._make_self_pipe() |
+ |
def _socketpair(self): |
return socket.socketpair() |