[New-bugs-announce] [issue18668] Properly document setting m_size in PyModuleDef
report at bugs.python.org
Tue Aug 6 15:20:46 CEST 2013
New submission from Eli Bendersky:
docs.python.org/dev/c-api/module.html Currently doesn't say much about m_size, except that setting it to -1 means "no memory needed".
m_size == -1 has a much more important use that is not documented: it signals the import machinery that the module should not be ever re-initialized. This has to be documented explicitly.
components: Documentation, Extension Modules
nosy: eli.bendersky, ncoghlan
stage: needs patch
title: Properly document setting m_size in PyModuleDef
versions: Python 3.3, Python 3.4
Python tracker <report at bugs.python.org>
More information about the New-bugs-announce