[Python-Dev] libffi embedded in CPython
Antoine Pitrou
solipsis at pitrou.net
Wed Mar 25 10:09:10 CET 2015
More information about the Python-Dev mailing list
Wed Mar 25 10:09:10 CET 2015
- Previous message (by thread): [Python-Dev] libffi embedded in CPython
- Next message (by thread): [Python-Dev] libffi embedded in CPython
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Wed, 25 Mar 2015 08:15:18 +0000 Paul Moore <p.f.moore at gmail.com> wrote: > 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. I'm not sure we guarantee anything. In any case, it's only a small proportion of the kind of crashes you can get by messing the signature. Regards Antoine.
- Previous message (by thread): [Python-Dev] libffi embedded in CPython
- Next message (by thread): [Python-Dev] libffi embedded in CPython
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-Dev mailing list