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 <rep...@bugs.python.org>
<http://bugs.python.org/issue20166>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to