[New-bugs-announce] [issue4612] PyModule_Create() doesn't add/import module

blake madden report at bugs.python.org
Tue Dec 9 16:41:10 CET 2008


New submission from blake madden <madden_blake at yahoo.com>:

In reference to Issue4592 (which includes a patch),
PyModule_Create()calls PyModule_New instead of PyImport_AddModule. 
Because of this, calling PyModule_Create() won't work like Py_InitModule().

Is this correct, because the documentation is showing that
PyModule_Create() is all you need to use to create and add a module to
the system.  However, this is not the case.

----------
components: Extension Modules
messages: 77428
nosy: blakemadden
severity: normal
status: open
title: PyModule_Create() doesn't add/import module
type: behavior
versions: Python 3.0

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue4612>
_______________________________________


More information about the New-bugs-announce mailing list