This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author martius
Recipients gvanrossum, martius, neologix, vstinner, yselivanov
Date 2015-02-17.15:10:12
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1424185813.04.0.755264764299.issue21998@psf.upfronthosting.co.za>
In-reply-to
Content
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()
History
Date User Action Args
2015-02-17 15:10:13martiussetrecipients: + martius, gvanrossum, vstinner, neologix, yselivanov
2015-02-17 15:10:13martiussetmessageid: <1424185813.04.0.755264764299.issue21998@psf.upfronthosting.co.za>
2015-02-17 15:10:13martiuslinkissue21998 messages
2015-02-17 15:10:13martiuscreate