New submission from Petr Viktorin <encu...@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 <rep...@bugs.python.org>
<https://bugs.python.org/issue38159>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to