Issue #20505: Remove resolution and _granularity from selectors and asyncio

* Remove selectors.BaseSelector.resolution attribute
* Remove asyncio.BaseEventLoop._granularity attribute
This commit is contained in:
Victor Stinner 2014-02-07 23:34:58 +01:00
parent c489e83432
commit 85310a50a9
9 changed files with 10 additions and 74 deletions

View file

@ -365,7 +365,6 @@ class BaseProactorEventLoop(base_events.BaseEventLoop):
self._selector = proactor # convenient alias
self._self_reading_future = None
self._accept_futures = {} # socket file descriptor => Future
self._granularity = max(proactor.resolution, self._granularity)
proactor.set_loop(self)
self._make_self_pipe()