[issue4592] PyModule_Create doesn't work (or example is missing something)

2008-12-08 Thread blake madden
blake madden <[EMAIL PROTECTED]> added the comment: It seems that a call to "PyDict_SetItemString" is what is missing from r67655: PyObject* m = PyModule_Create(&EmbModule); PyDict_SetItemString(PyImport_GetModuleDict(), EmbModule.m_name, m); I am just guessing here though, don't know if this i

[issue4592] PyModule_Create doesn't work (or example is missing something)

2008-12-08 Thread blake madden
New submission from blake madden <[EMAIL PROTECTED]>: Following an example of how to extend and embed that I found in patch file r67655 (the website is out of date [issue4586]), PyModule_Create appears to not work (or example is not complete). When I run r67655 (attached also) I get an error say