Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python.announce > #1017

CFFI 0.7 released

References <CAMSv6X1hoef4k1o=o8=-G_Ar5fkPqkV=cFBnd8OgHKZGqZ1ohQ@mail.gmail.com>
From Armin Rigo <arigo@tunes.org>
Date 2013-08-01 17:59 +0200
Subject CFFI 0.7 released
Newsgroups comp.lang.python.announce
Message-ID <mailman.87.1375380836.1251.python-announce-list@python.org> (permalink)

Show all headers | View raw


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.

Back to comp.lang.python.announce | Previous | Next | Find similar | Unroll thread


Thread

CFFI 0.7 released Armin Rigo <arigo@tunes.org> - 2013-08-01 17:59 +0200

csiph-web