[issue4612] PyModule_Create() doesn't add/import module
report at bugs.python.org
Tue Dec 9 20:35:59 CET 2008
blake madden <madden_blake at yahoo.com> added the comment:
Sorry, mate, that's all Greek to me--I'm a total noob with Python. I'm
simply trying to run the example in r67655 (the "Extending Embedded
Python" example) and it fails with "'emb' not being found". It appears
that calling "PyModule_Create(&EmbModule);" is not enough to create and
import the library.
Somebody made a comment in Issue4592 that "PyModule_Create" was missing
some logic, so I'm reporting that here.
I honestly don't know if there is something wrong with "PyModule_Create"
or if the example is missing something. I'm just trying to get this
example to work.
Python tracker <report at bugs.python.org>
More information about the Python-bugs-list