[issue20166] window x64 c-extensions not works on python3.4.0b2

jarod report at bugs.python.org
Tue Jan 7 20:48:38 CET 2014


New submission from jarod:

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.

----------
components: Build, Windows
messages: 207584
nosy: jarod
priority: normal
severity: normal
status: open
title: window x64 c-extensions not works on python3.4.0b2
versions: Python 3.4

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


More information about the Python-bugs-list mailing list