Martin v. Löwis mar...@v.loewis.de added the comment:
Thanks for the patch!
--
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15042
___
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset 55e8cba34b11 by Martin v. Löwis in branch 'default':
Issue #15042: Add PyState_AddModule and PyState_RemoveModule.
http://hg.python.org/cpython/rev/55e8cba34b11
--
nosy: +python-dev
Robin Schreiber robin.schrei...@me.com added the comment:
Added missing documentation. Also added documentation of PyState_FindModule()
which still happened to be missing.
--
Added file: http://bugs.python.org/file26046/PyState_add-remove_module_v2.patch
Martin v. Löwis mar...@v.loewis.de added the comment:
These functions need to be documented.
--
nosy: +loewis
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15042
___
New submission from Robin Schreiber robin.schrei...@me.com:
PEP 3121 suggests a new way of Module-initialization, where the module state is
being wrapped inside a dedicate struct, which can be accessed at runtime via
the PyState_FindModule method. For code outside the Init-method, there is no