Package: python-snappy / 0.5.3-1.3
Metadata
| Package | Version | Patches format |
|---|---|---|
| python-snappy | 0.5.3-1.3 | 3.0 (quilt) |
Patch series
view the series file| Patch | File delta | Description |
|---|---|---|
| python3.11 | (download) |
snappy/pythoncapi_compat.h |
393 393 + 0 - 0 ! |
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 |
1
