Changes by Serhiy Storchaka storch...@gmail.com:
--
resolution: - duplicate
stage: patch review - committed/rejected
status: open - closed
superseder: - PyModuleDef_HEAD_INIT does not explicitly initialize all fields
of m_base
___
Python tracker
Stefan Behnel added the comment:
This is a duplicate of issue 9518 (or the other way round) and should be closed
as fixed in 3.2.
--
components: +Extension Modules
nosy: +scoder
___
Python tracker rep...@bugs.python.org
Reid Kleckner r...@mit.edu added the comment:
This patch looks good to me, after digging through the relevant module code.
I was confused though for a bit as to why PyModuleDef is a PyObject with a NULL
type. It turns out that import.c wants to keep them in a dictionary, so it
needs to be
Mark Lawrence breamore...@yahoo.co.uk added the comment:
This is a miniscule patch to moduleobject.h could someone with the relevant
knowledge please review it, thanks.
--
nosy: +BreamoreBoy
___
Python tracker rep...@bugs.python.org
New submission from Ronald Oussoren ronaldousso...@mac.com:
When running GCC with warnings the compiler can warn about incomplete
structure initializers. This gives spurious warnings when initializing a
PyModuleDef structure using PyModuleDef_HEAD_INIT
The attached patchs changes