Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

on_readable renamed to handle_event(fileno, event)

  • Loading branch information...
commit 87f5817f5444d163faf09d966d94abb4c80e87f3 1 parent 7adfb42
@ask authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 billiard/pool.py
View
4 billiard/pool.py
@@ -577,7 +577,7 @@ def on_state_change(task):
yield on_state_change(task)
- def on_readable(self):
+ def handle_event(self, fileno, event):
if self._state == RUN:
if self._it is None:
self._it = self._process_result()
@@ -758,7 +758,7 @@ def __init__(self, processes=None, initializer=None, initargs=(),
self._result_handler.start()
else:
self.eventmap[self._outqueue._reader] = \
- self._result_handler.on_readable
+ self._result_handler.handle_event
self._terminate = Finalize(
self, self._terminate_pool,
Please sign in to comment.
Something went wrong with that request. Please try again.