python-cffi

Edit Package python-cffi

Foreign Function Interface for Python calling C code. The aim of this project is to provide a convenient and reliable way of calling C code from Python.

Refresh
Refresh
Source Files
Filename Size Changed
cffi-1.13.2.tar.gz 0000460243 449 KB
python-cffi-rpmlintrc 0000000316 316 Bytes
python-cffi.changes 0000032192 31.4 KB
python-cffi.spec 0000002131 2.08 KB
Latest Revision
Jiri Srain's avatar Jiri Srain (jsrain) committed (revision 2)
This is a buildfix needed for Leap fixing fallout after sr#209244 broke it

- Update to 1.13.2:
  * re-release because the Linux wheels came with an attached version of libffi that was very old and buggy
- Update to 1.13.1:
  * deprecate the way to declare in cdef() a global variable with only void *foo;. You should always use a storage class, like extern void *foo; or maybe static void *foo;. These are all equivalent for the purposes of cdef(), but the reason for deprecating the bare version is that (as far as I know) it would always be mistake in a real C header.
  * fix the regression RuntimeError: found a situation in which we try to build a type recursively.
  * fixed issue #427 where a multithreading mistake in the embedding logic initialization code would cause deadlocks on CPython 3.7.

- Update to 1.13.0:
  * No changelog provided upstream

- Update to 1.12.3
  * Fix for nested struct types that end in a var-sized array (#405).
  * Add support for using U and L characters at the end of integer constants in ffi.cdef() (thanks Guillaume).
  * More 3.8 fixes.

- Remove test suite exception which was fixed by 7a76a38153*.patch
- Add doc/*/*.rst to %doc

- update to 1.12.3
- drop patches: 3184b0a675fc425b821b528d7fdf744b2f08dadf.patch
                7a76a381534012af4790e815140d1538510b7d93.patch
                e2e324a2f13e3a646de6f6ff03e90ed7d37e2636.patch
 * Direct support for pkg-config.
 * ffi.from_buffer() takes a new optional first argument that gives the array
    type of the result. It also takes an optional keyword argument require_writable
    to refuse read-only Python buffers.
 * ffi.new(), ffi.gc() or ffi.from_buffer() cdata objects can now be released
    at known times, either by using the with keyword or by calling the new ffi.release().
 * Accept an expression like ffi.new("int[4]", p) if p is itself another cdata int[4].
 * CPython 2.x: ffi.dlopen() failed with non-ascii file names on Posix
Comments 0
openSUSE Build Service is sponsored by