Following-up on #145333, I would like to add more __length_hint__ methods to itertools helper iterators. Not all of them can have such a method (those that are not finite, like count or unknown like takewhile) but I think we could at least add them for starmap, batched, and possibly others like product, pairwise etc that will require some more attention.
I plan to work on this in the next few days.
Following-up on #145333, I would like to add more
__length_hint__methods toitertoolshelper iterators. Not all of them can have such a method (those that are not finite, likecountor unknown liketakewhile) but I think we could at least add them forstarmap,batched, and possibly others likeproduct,pairwiseetc that will require some more attention.I plan to work on this in the next few days.