selector _BaseSelectorImpl._key_from_fd
reimplements .get()
#106554
Labels
type-feature
A feature request or enhancement
selector
_BaseSelectorImpl._key_from_fd
reimplements.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_fd
with a simpleget
#106555The text was updated successfully, but these errors were encountered: