You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In #2611, lower in size_hint is fixed. But upper is untouched. I wonder if we should also change x.checked_add(chunk_len) to (x / self.cap).checked_add(chunk_len) or something like that.
The size hint for chunks is computed as follows:
However, this is incorrect. The stream combines many items into one, so it should divide the size hints by the capacity.
The text was updated successfully, but these errors were encountered: