Martin Richard added the comment: In that case, I suggest a small addition to your patch that would do the trick:
in unix_events.py: + def _at_fork(self): + super()._at_fork() + self._selector._at_fork() + self._close_self_pipe() + self._make_self_pipe() + becomes: + def _at_fork(self): + super()._at_fork() + if not hasattr(self._selector, '_at_fork'): + return + self._selector._at_fork() + self._close_self_pipe() + self._make_self_pipe() ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue21998> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com