diff options
author | Brett Cannon <brett@python.org> | 2015-12-27 20:24:36 (GMT) |
---|---|---|
committer | Brett Cannon <brett@python.org> | 2015-12-27 20:24:36 (GMT) |
commit | 4a4ca7c13f65d54087bf6add854bbbc23db1541f (patch) | |
tree | a0c10abbed24a1f1729d52947c608185248d82c1 | |
parent | 0792451ea49f53ac5832d5f489d68c32190a5de0 (diff) | |
parent | 762d5ea8753e2c137eb7affa9fcb51db1cecd1aa (diff) | |
download | cpython-4a4ca7c13f65d54087bf6add854bbbc23db1541f.zip cpython-4a4ca7c13f65d54087bf6add854bbbc23db1541f.tar.gz cpython-4a4ca7c13f65d54087bf6add854bbbc23db1541f.tar.bz2 |
Merge for issue #12484
-rw-r--r-- | Doc/c-api/import.rst | 5 | ||||
-rw-r--r-- | Doc/faq/extending.rst | 14 | ||||
-rw-r--r-- | Misc/ACKS | 1 |
3 files changed, 1 insertions, 19 deletions
diff --git a/Doc/c-api/import.rst b/Doc/c-api/import.rst index bf1b495..15a9e25 100644 --- a/Doc/c-api/import.rst +++ b/Doc/c-api/import.rst @@ -236,11 +236,6 @@ Importing Modules For internal use only. -.. c:function:: PyObject* _PyImport_FixupExtension(char *, char *) - - For internal use only. - - .. c:function:: int PyImport_ImportFrozenModuleObject(PyObject *name) Load a frozen module named *name*. Return ``1`` for success, ``0`` if the diff --git a/Doc/faq/extending.rst b/Doc/faq/extending.rst index 7bb4dc2..c932d38 100644 --- a/Doc/faq/extending.rst +++ b/Doc/faq/extending.rst @@ -247,20 +247,6 @@ For Red Hat, install the python-devel RPM to get the necessary files. For Debian, run ``apt-get install python-dev``. -What does "SystemError: _PyImport_FixupExtension: module yourmodule not loaded" mean? -------------------------------------------------------------------------------------- - -This means that you have created an extension module named "yourmodule", but -your module init function does not initialize with that name. - -Every module init function will have a line similar to:: - - module = Py_InitModule("yourmodule", yourmodule_functions); - -If the string passed to this function is not the same name as your extension -module, the :exc:`SystemError` exception will be raised. - - How do I tell "incomplete input" from "invalid input"? ------------------------------------------------------ @@ -1313,6 +1313,7 @@ Pete Sevander Denis Severson Ian Seyer Dmitry Shachnev +Anish Shah Daniel Shahaf Mark Shannon Ha Shao |