[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Python-Dev] Inclusion of lz4 bindings in stdlib?

On 29Nov2018 1230, Gregory P. Smith wrote:
> On Thu, Nov 29, 2018 at 2:58 AM Andrew Svetlov <andrew.svetlov at gmail.com 
> <mailto:andrew.svetlov at gmail.com>> wrote:
>     5 cents about lz4 alternatives: Broli (mentioned above) is widely
>     supported by web.
>     https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Accept-Encoding
>     mentions it along with gzip and deflate methods.
>     I don't recall lz4 or Zstd metioning in this context.
>     Both Chrome/Chromium and Firefox accepts it by default (didn't check
>     Microsoft products yet).
> Acceptance by multiple popular browsers is a good reason to /also/ 
> propose brotli support in the stdlib. Though it'd probably make sense to 
> actually _support_ Accept-Encoding based on available compression 
> modules within the stdlib http.client (and potentially server) as a 
> prerequisite for that reasoning. 
> https://github.com/python/cpython/blob/master/Lib/http/client.py#L1168.

FWIW, Brotli has been supported in Microsoft Edge since early last year:

> -gps