◐ Shell
clean mode source ↗

Message 217391 - Python tracker

> So I'd suggest, instead of using an hardcoded value, to simply reuse io.DEFAULT_BUFFER_SIZE.
> That way, if some day we decide to change it, all user code wil benefit from the change.

I don't think io.DEFAULT_BUFFER_SIZE makes much sense as a heuristic for the gzip module (or compressed files in general). Perhaps gzip should get its own DEFAULT_BUFFER_SIZE?