[issue4612] PyModule_Create() doesn't add/import module

blake madden 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>
<http://bugs.python.org/issue4612>
_______________________________________


More information about the Python-bugs-list mailing list