[Python-ideas] discouraging direct use of the C-API
Andrew Barnert
abarnert at yahoo.com
Wed May 6 21:59:16 CEST 2015
On May 6, 2015, at 09:23, 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.
Does this mean you also want to discourage boost::python, SIP, SWIG, etc., which as far as I know come down to automatically building C API extensions, and would need to be completely rewritten if you wanted to make them work a different way?
> Thoughts?
>
> -eric
> _______________________________________________
> Python-ideas mailing list
> Python-ideas at python.org
> https://mail.python.org/mailman/listinfo/python-ideas
> Code of Conduct: http://python.org/psf/codeofconduct/
More information about the Python-ideas
mailing list