Remove cpyext.load_module()?

Hi, In order to implement PEP 489 (Multi-phase extension module initialization) on py3.5 I need to change the way app-level Python code interacts with extension module loading internals. Maintaining cpyext.load_module() is a bit annoying. Probably the best way would be to delegate straight to imp.load_dynamic(). But then the question is why we need it in the first place. I'd like to remove cpyext.load_module() on both default and py3.5. -Manuel

Hi, On 20 March 2017 at 23:37, Manuel Jacob <me@manueljacob.de> wrote:
I'd like to remove cpyext.load_module() on both default and py3.5.
If you're talking about the app-level function, it doesn't seem to be called at all (at least on default) apart from test_cpyext.AppTestApi.test_load_error. A bientôt, Armin.

Hi, On 20 March 2017 at 23:37, Manuel Jacob <me@manueljacob.de> wrote:
I'd like to remove cpyext.load_module() on both default and py3.5.
If you're talking about the app-level function, it doesn't seem to be called at all (at least on default) apart from test_cpyext.AppTestApi.test_load_error. A bientôt, Armin.
participants (2)
-
Armin Rigo
-
Manuel Jacob