[Python-ideas] PEP 451 (import API refactoring) and C extension loading

Nick Coghlan ncoghlan at gmail.com
Sun Nov 3 02:14:23 CET 2013


On 3 Nov 2013 02:45, "Stefan Behnel" <stefan_ml at behnel.de> wrote:
>
> Nick Coghlan, 02.11.2013 16:53:
> > the PEP 451 refactoring makes it far
> > more feasible to experiment with alternative C extension loading
> > techniques through cffi
>
> That's a funny idea. Doesn't sound completely infeasible at first sight,
> cffi is all about shared library loading.
>
>
> > so I'd like to postpone actually changing the
> > default extension loading system to Python 3.5. The idea of adding
> > cffi itself to the standard library has been discussed, in which case
> > we might even be able to move all of that ugly extension management
> > code out of C and into Python permanently, rather than just as part of
> > third party experiments.
>
> cffi itself would then have to be statically linked in, obviously. And be
> available on all platforms that CPython currently supports.

Ah, true. Oh well, it's still a useful option for prototyping purposes :)

Cheers,
Nick.

>
> Stefan
>
>
> _______________________________________________
> Python-ideas mailing list
> Python-ideas at python.org
> https://mail.python.org/mailman/listinfo/python-ideas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20131103/ee769178/attachment.html>


More information about the Python-ideas mailing list