Thanks Yury,

>>>> import imp
>>>> imp.get_suffixes()
[('.pypy-22.pyd', 'rb', 3), ('.py', 'U', 1), ('.pyc', 'rb', 2)]
>>>>

That's useful to know.

Cheers,
Johan


On 2014-02-24 14:20, Yury V. Zaytsev wrote:
On Mon, 2014-02-24 at 13:50 +0100, Johan Råde wrote:

On Windows a dynamic library, by default, has the extension .dll. But
a Python extension module must have the extension .pyd, at least under
CPython. I assumed that the extension should be .pyd under PyPy too.

Maybe you can check like this:

     import imp
     imp.get_suffixes()

If this doesn't contain '.pyd', then that's your problem, otherwise
something else is at fault.



_______________________________________________
pypy-dev mailing list
pypy-dev@python.org
https://mail.python.org/mailman/listinfo/pypy-dev

Reply via email to