[Python-ideas] discouraging direct use of the C-API

Guido van Rossum guido at python.org
Wed May 6 18:41:10 CEST 2015


On Wed, May 6, 2015 at 9:23 AM, Eric Snow <ericsnowcurrently at gmail.com>
wrote:

> A big blocker to making certain sweeping changes to CPython (e.g.
> ref-counting) is compatibility with the vast body of C extension
> modules out there that use the C-API.  While there are certainly
> drastic long-term solutions to that problem, there is one thing we can
> do in the short-term that would at least get the ball rolling.  We can
> put a big red note at the top of every page of the C-API docs that
> encourages folks to either use CFFI or Cython.
>
> Thoughts?
>

I think Cython is already used by those people who benefit from it.

As for CFFI, is the ownership/maintenance issue solved yet? IIRC we have
some really outdated versions in the CPython tree and nobody wants to step
in and upgrade these to the latest CFFI, for some reason (such as that that
would actually break a lot of code because the latest version is so
different from the version we currently include?).

-- 
--Guido van Rossum (python.org/~guido)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20150506/b04cb4de/attachment-0001.html>


More information about the Python-ideas mailing list