Hi all,

CFFI 0.7, the alternative C Foreign Function Interface, has been
released on PyPI.  It can be "pip installed" for CPython.  It is also
included with the just-released PyPy 2.1.

    http://cffi.readthedocs.org/

The main news (and only user-visible new feature) is
"ffi.new_handle(x)", which returns a "void *" corresponding to the
arbitrary Python object "x".  It can be passed around C code and later
retrieved with ffi.from_handle().  See the corresponding paragraph of
https://cffi.readthedocs.org/en/release-0.7/ about the lifetime of the
"void *".

Apart from that, there are a number of bugfixes (enums on Windows and
on ARM, some Win64 support, support for writing "short unsigned" or
"unsigned short", leaks of cycles involving cffi callbacks, ...).


A bientôt,

Armin.
-- 
http://mail.python.org/mailman/listinfo/python-announce-list

        Support the Python Software Foundation:
        http://www.python.org/psf/donations/

Reply via email to