asyncio: sync with Tulip

* Tulip issue 184: FlowControlMixin constructor now get the event loop if the
  loop parameter is not set. Add unit tests to ensure that constructor of
  StreamReader and StreamReaderProtocol classes get the event loop.
* Remove outdated TODO/XXX
This commit is contained in:
Victor Stinner 2015-01-09 21:32:05 +01:00
parent 7eb10311be
commit 70db9e428a
6 changed files with 29 additions and 11 deletions

View file

@ -487,7 +487,8 @@ class BaseProactorEventLoop(base_events.BaseEventLoop):
self.call_soon(loop)
def _process_events(self, event_list):
pass # XXX hard work currently done in poll
# Events are processed in the IocpProactor._poll() method
pass
def _stop_accept_futures(self):
for future in self._accept_futures.values():