[Python-Dev] Pre-PEP: Redesigning extension modules

Eric Snow ericsnowcurrently at gmail.com
Fri Sep 6 07:57:56 CEST 2013


On Mon, Sep 2, 2013 at 2:16 AM, Antoine Pitrou <solipsis at pitrou.net> wrote:

> I think the biggest challenge here is to propose an API that's simple
> and easy to use (i.e. that doesn't make extension module writing more
> complicated than it currently is).
>

+1


>
> The basic concept of putting custom module objects in sys.modules is
> sound, IMHO.
>
> As for "extension module as a wrapper", though, it shounds like the
> kind of complication I would personally prefer to stay away from. Also,
> it would make extension modules less like Python modules, rather than
> more.
>

It all depends on how useful it would be to be able to safely reload
extension modules from their files.

-eric
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-dev/attachments/20130905/49715ee2/attachment.html>


More information about the Python-Dev mailing list