mirror of
https://github.com/python/cpython.git
synced 2025-12-04 00:30:19 +00:00
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:
parent
c489e83432
commit
85310a50a9
9 changed files with 10 additions and 74 deletions
|
|
@ -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()
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue