[New-bugs-announce] [issue38159] PyState_AddModule docs should say that it's not necessary to call it.

Petr Viktorin report at bugs.python.org
Fri Sep 13 09:25:39 EDT 2019


New submission from Petr Viktorin <encukou at gmail.com>:

I've seen extension modules calling PyState_AddModule on init, despite  Python doing this automatically.
It should be clarified that PyState_AddModule is for people who are writing alternative ways of creating/registering module objects.

----------
messages: 352320
nosy: petr.viktorin
priority: normal
severity: normal
status: open
title: PyState_AddModule docs should say that it's not necessary to call it.

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue38159>
_______________________________________


More information about the New-bugs-announce mailing list