[Python-3000] Request for documentation: PyModuleDef
"Martin v. Löwis"
martin at v.loewis.de
Tue Sep 30 23:48:33 CEST 2008
Jan Althaus wrote:
> Please correct me if I'm wrong, but it doesn't seem like there is a full
> documentation of PyModuleDef's members available?
That's most likely the case, yes.
> While some of them are intuitive, others aren't. The usage of m_size in
> particular isn't clear to me.
See PEP 3121.
> I understand this is the size of
> additional per-interpreter storage, however I'm not sure how this
> translates to code; both in terms of declaration and functions such as
> PyModule_Create (e.g. how/when are the additional members/storage
> Do you reckon it would make sense to add an example for such a case to
> the Embedding and Extending part of the docs?
Sure! Contributions are welcome.
More information about the Python-3000