Message 376095 - Python tracker (original) (raw)

I have spent two weeks, almost complete the code, a preview: https://github.com/animalize/cpython/pull/8/files

Write directly for stdlib, since there are already zstd modules on pypi. In addition, the API of zstd is simple, not as complicated as lzma.

Can also use these: 1, argument clinic 2, multi-phase init 3. internal function _PyLong_AsInt