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
> initialised?)
> 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.

Regards,
Martin
_______________________________________________
Python-3000 mailing list
Python-3000@python.org
http://mail.python.org/mailman/listinfo/python-3000
Unsubscribe: 
http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com

Reply via email to