CFFI 0.9.2

43 views
Skip to first unread message

Armin Rigo

unread,
Mar 13, 2015, 5:18:06 AM3/13/15
to pytho...@googlegroups.com
Hi all,

I pushed release 0.9.2 out of the door with mostly just this fix:

https://bitbucket.org/cffi/cffi/issue/187/inconsistencies-in-ffifrom_buffer

ffi.from_buffer() was incorrectly accepting objects of type
'memoryview' containing strings, which was not intended --- it works
only on CPython, not PyPy, and it is documented that it should not
work. Additionally, still on CPython, ffi.from_buffer() was
incorrectly rejecting objects of type 'buffer' pointing to read-only
objects, say read-only numpy arrays. (Insert here the usual rant
against the internal mess of buffer and memoryview objects.)


A bientôt,

Armin.
Reply all
Reply to author
Forward
0 new messages