The operator module is also C.
(In my 2018 PR, I was able to add the Python implementations of `aiter` and `anext` to Lib/operator.py, right above where it does "from _operator import *" toward the bottom of the file. I interpreted this pattern there to mean "shadow Python implementations with C implementations where available, but otherwise it's okay to use the Python implementations above". Is that right?)
Dan also suggested freezing the Python implementations into the binary as a way of keeping their implementations in Python, but in builtins rather than operator.
I am pleading to remove the 2nd arg to aiter, which should simplify the code.
All checks are passing. Yury or any other core developers, would you like to merge this now?
Thanks again, everyone.
--Josh, Dan, and Justin
[1] The latest revision adds the following to the `aiter` docs: