This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: PyModule_Create not working properly
Type: Stage:
Components: None Versions: Python 3.1
process
Status: closed Resolution: not a bug
Dependencies: Superseder:
Assigned To: Nosy List: Krauzi, amaury.forgeotdarc
Priority: normal Keywords:

Created on 2010-06-28 19:30 by Krauzi, last changed 2022-04-11 14:57 by admin. This issue is now closed.

Messages (2)
msg108855 - (view) Author: Krauzi (Krauzi) Date: 2010-06-28 19:30
Hi guys i have a big problem with my code:
PyModule_Create doesnt add any methods to the module (all methods are correctly added to the PyMethodDef structure respective the PyModuleDef).
With python 2.6.5 everything works well (Py_InitModule used instead of PyModule_Create [+ PyImport_AddModule]).
I looked into the source but everything seems correct there.

The code worked neither Visual Studio 2010 nor on 2008.
msg108869 - (view) Author: Amaury Forgeot d'Arc (amaury.forgeotdarc) * (Python committer) Date: 2010-06-28 21:12
The issue tracker is not here to get help.
Please ask your question on the comp.lang.python newgroup, or the python-list mailing list.

There, I think you will have to show part of your code; there will certainly be several people willing to help you.
History
Date User Action Args
2022-04-11 14:57:02adminsetgithub: 53353
2010-06-28 21:12:36amaury.forgeotdarcsetstatus: open -> closed

nosy: + amaury.forgeotdarc
messages: + msg108869

resolution: not a bug
2010-06-28 19:30:56Krauzicreate