[Python-Dev] libffi embedded in CPython

Thomas Wouters thomas at python.org
Thu Mar 12 15:25:18 CET 2015


On Thu, Mar 12, 2015 at 1:20 AM, Guido van Rossum <guido at python.org> wrote:

> Can we please decouple the ctypes deprecation discussion from efforts to
> upgrade cffi? They can coexist just fine, and they don't even really solve
> the same problem.
>

ctypes and cffi do actually solve the same problem, just not in the same
way.



>
> On Wed, Mar 11, 2015 at 3:20 PM, Brett Cannon <brett at python.org> wrote:
>
>>
>>
>> On Wed, Mar 11, 2015 at 6:03 PM Paul Moore <p.f.moore at gmail.com> wrote:
>>
>>> On 11 March 2015 at 21:45, Maciej Fijalkowski <fijall at gmail.com> wrote:
>>> >> Is it possible to use cffi without a C compiler/headers as easily than
>>> >> ctypes?
>>> >
>>> > yes, it has two modes, one that does that and the other that does
>>> > extra safety at the cost of a C compiler
>>>
>>> So if someone were to propose a practical approach to including cffi
>>> into the stdlib, *and* assisting the many Windows projects using
>>> ctypes for access to the Windows API [1], then there may be a
>>> reasonable argument for deprecating ctypes. But nobody seems to be
>>> doing that, rather the suggestion appears to be just to deprecate a
>>> widely used part of the stdlib offering no migration path :-(
>>>
>>
>> You're ignoring that it's not maintained, which is the entire reason I
>> brought this up. No one seems to want to touch the code. Who knows what
>> improvements, bugfixes, etc. exist upstream in libffi that we lack because
>> no one wants to go through and figure it out. If someone would come forward
>> and help maintain it then I have no issue with it sticking around.
>>
>> _______________________________________________
>> Python-Dev mailing list
>> Python-Dev at python.org
>> https://mail.python.org/mailman/listinfo/python-dev
>> Unsubscribe:
>> https://mail.python.org/mailman/options/python-dev/guido%40python.org
>>
>>
>
>
> --
> --Guido van Rossum (python.org/~guido)
>
> _______________________________________________
> Python-Dev mailing list
> Python-Dev at python.org
> https://mail.python.org/mailman/listinfo/python-dev
> Unsubscribe:
> https://mail.python.org/mailman/options/python-dev/thomas%40python.org
>
>


-- 
Thomas Wouters <thomas at python.org>

Hi! I'm an email virus! Think twice before sending your email to help me
spread!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-dev/attachments/20150312/fc77c4be/attachment.html>


More information about the Python-Dev mailing list