Re: PEP 489: Redesigning extension module loading
Stefan Behnel <[email protected]> Fri, 17 Apr 2015 07:59:58 +0200
| Newsgroups | gmane.comp.python.import |
|---|---|
| Message-ID | <[email protected]> |
Nick Coghlan schrieb am 16.04.2015 um 22:48: > On 16 Apr 2015 07:05, "Petr Viktorin" wrote: >> There's a question I need help with: go with a new PyModuleDesc >> structure, or stick with PyModuleDef and repurpose a currently unused >> member. You can find the details in the text itself. > > I think the PEP makes a decent case for: > > * m_reload being an essentially unimplementable idea > * swapping it out for a slots array pointer being a way to migrate to an > extensible approach to module declarations without needing a new struct > definition in the C API (and associated new functions to work with that > struct). > > That means I'm inclined to favour the "modify PyModuleDef" variant. +1, but I think the decision should be done over on python-dev. Stefan