Debian Patches

Status for python-cffi/1.15.1-5

Patch Description Author Forwarded Bugs Origin Last update
python3.11 Adjust tests for a last minute Python 3.11 change in the traceback format

See https://github.com/python/cpython/issues/93883
and https://github.com/python/cpython/pull/93994
=?utf-8?q?Miro_Hron=C4=8Dok?= <miro@hroncok.cz> no debian upstream, https://foss.heptapod.net/pypy/cffi/-/commit/8a3c2c816d789639b49d3ae867213393ed7abdff 2022-10-16
python3.11-untrack Issue 553
Two missing calls to PyObject_GC_UnTrack()
Stefano Rivera <stefanor@debian.org> no debian upstream: https://foss.heptapod.net/pypy/cffi/-/commit/2b807ea84d385a95aae5eb78a57c9e3bf911043c 2022-12-04
hppa Fix the test failures on hppa
A couple of years ago the libffi port for hppa-linux was changed from using a
trampoline executed on the stack to the function descriptor technique used by
ia64. This doesn't require an executable stack and is simpler. However,
function pointers need to have the PLABEL bit set in the pointer. As a result,
a simple cast can't be used to convert closure pointers to function pointers.

python-cffi uses its own closure allocation so the problem can't be fixed in
libffi.

I added a macro CFFI_FN to do the conversion. It shouldn't affect other
architectures. There is a similar define in libffi.
John David Anglin <dave.anglin@bell.net> yes debian 2022-12-18

All known versions for source package 'python-cffi'

Links