Debian Patches

Status for python-snappy/0.5.3-1.2

Patch Description Author Forwarded Bugs Origin Last update
python3.11 Port to Python 3.11: use Py_SET_SIZE() .
On Python 3.11, "Py_SIZE(str) = actual_size;" fails with a compiler
error. Since Python 3.9, Py_SET_SIZE() must be used instead:
.
* https://docs.python.org/dev/whatsnew/3.11.html#c-api-changes
* https://docs.python.org/dev/c-api/structures.html#c.Py_SIZE
.
Add a copy of the pythoncapi_compat.h header file to get
Py_SET_SIZE() on Python 3.8 and older:
https://github.com/pythoncapi/pythoncapi_compat
Victor Stinner <vstinner@python.org> no debian upstream: https://github.com/andrix/python-snappy/commit/5575c80fbbbf3c8b257dfe1c9b9bb3e69ac909a8

All known versions for source package 'python-snappy'

Links