selector _BaseSelectorImpl._key_from_fd reimplements .get()
|
def _key_from_fd(self, fd): |
This internal method isn't documented https://docs.python.org/3/library/selectors.html which means it likely can be replaced with .get() which would reduce runtime in the select loops
current:

removed:

Linked PRs
selector
_BaseSelectorImpl._key_from_fdreimplements.get()cpython/Lib/selectors.py
Line 275 in da98ed0
This internal method isn't documented https://docs.python.org/3/library/selectors.html which means it likely can be replaced with
.get()which would reduce runtime in the select loopscurrent:

removed:

Linked PRs
_BaseSelectorImpl._key_from_fdwith a simpleget#106555