mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +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
|
@ -36,7 +36,6 @@ class BaseSelectorEventLoop(base_events.BaseEventLoop):
|
|||
selector = selectors.DefaultSelector()
|
||||
logger.debug('Using selector: %s', selector.__class__.__name__)
|
||||
self._selector = selector
|
||||
self._granularity = max(selector.resolution, self._granularity)
|
||||
self._make_self_pipe()
|
||||
|
||||
def _make_socket_transport(self, sock, protocol, waiter=None, *,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue