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.

Author jarod
Recipients jarod
Date 2014-01-07.19:48:38
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1389124118.85.0.0740185864803.issue20166@psf.upfronthosting.co.za>
In-reply-to
Content
After installing python3.4.0b2.amd64 and rebuild modules, most of them stoped works. List of modules is [psutil, ujson].
Exception occurs on importing module:

import error: dynamic module does not define init function PyInit_<module_name>

and I found solution (workaround) - need change declaration of init function:

Line:
PyObject *PyInit_<module_name>(void)

was changed to:
PyMODINIT_FUNC PyInit_<module_name>(void)

and module works fine after rebuild.


All works fine with 3.4.0b1 and all alpha versions.
I have windows8.1 x64.
History
Date User Action Args
2014-01-07 19:48:38jarodsetrecipients: + jarod
2014-01-07 19:48:38jarodsetmessageid: <1389124118.85.0.0740185864803.issue20166@psf.upfronthosting.co.za>
2014-01-07 19:48:38jarodlinkissue20166 messages
2014-01-07 19:48:38jarodcreate