[Python-Dev] libffi embedded in CPython

Paul Moore p.f.moore at gmail.com
Wed Mar 25 09:15:18 CET 2015


On 25 March 2015 at 08:05, Maciej Fijalkowski <fijall at gmail.com> wrote:
> Linux crashes. The mechanism for detecting the number of arguments is
> only available on windows (note that this is a band-aid anyway, since
> if your arguments are of the wrong kind you segfault anyway). We do
> have two copies of libffi one for windows one for unix anyway, don't
> we?

Yes, this is in relation to looking at whether we can just use the
upstream libffi directly on Windows. It looks like we guarantee a
ValueError for the wrong number of arguments on Windows and upstream
libffi doesn't give a way to detect that, so there may be a backward
compatibility issue in doing so.

Thanks for checking for me.
Paul


More information about the Python-Dev mailing list