[Import-SIG] Pre-PEP: Module State Access from C Extension Methods

Petr Viktorin encukou at gmail.com
Fri Aug 12 12:26:02 EDT 2016


Hello,

I've updated the pre-PEP with static exceptions (which seem right
thing to do to me, and they help when updating existing stdlib
modules), and plans for Argument Clinic. I'm still working on the
implementation for those parts, and on helpers for slot methods.

The new text is at:
https://github.com/encukou/peps/blob/module-state-access/pep-9999.txt
with diffs available under History.


On Fri, Jun 3, 2016 at 11:16 PM, Petr Viktorin <encukou at gmail.com> wrote:
> Hello fro the PyCon sprints!
>
> Here is the first approximation for a PEP that introduces efficient
> access to the module state from methods of extension types. This is the
> biggest unresolved issue of PEP 489 (multi-phase init).
> There are still a few XXXs to be fleshed out, but the base is pretty
> solid. Please leave your comments!
>
> I also posted the pre-PEP at:
> https://github.com/encukou/peps/blob/3fdf3b1fad0220c7fe39044dfefc6d76759e0d1a/pep-9999.txt
>
> The beginnings of an implementation live at:
> https://github.com/encukou/cpython/tree/module-state-access
>
> Thanks to Nick and Eric for helping out!
>


More information about the Import-SIG mailing list