This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author eli.bendersky
Recipients eli.bendersky, ncoghlan
Date 2013-08-06.13:20:46
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1375795246.61.0.949649493069.issue18668@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2013-08-06 13:20:46eli.benderskysetrecipients: + eli.bendersky, ncoghlan
2013-08-06 13:20:46eli.benderskysetmessageid: <1375795246.61.0.949649493069.issue18668@psf.upfronthosting.co.za>
2013-08-06 13:20:46eli.benderskylinkissue18668 messages
2013-08-06 13:20:46eli.benderskycreate