Author: Manuel Jacob <[email protected]>
Branch: py3k
Changeset: r77794:c759743c891a
Date: 2015-06-02 22:37 +0200
http://bitbucket.org/pypy/pypy/changeset/c759743c891a/
Log: Fix.
diff --git a/pypy/module/cpyext/api.py b/pypy/module/cpyext/api.py
--- a/pypy/module/cpyext/api.py
+++ b/pypy/module/cpyext/api.py
@@ -1153,7 +1153,7 @@
return
#
if space.config.objspace.usemodules.cpyext:
- also_look_for = 'init%s' % (basename,)
+ also_look_for = 'PyInit_%s' % (basename,)
try:
initptr = rdynload.dlsym(dll, also_look_for)
except KeyError:
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit