[pypy-dev] Python C-API on Windows

Yury V. Zaytsev yury at shurup.com
Mon Feb 24 14:20:42 CET 2014


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.

-- 
Sincerely yours,
Yury V. Zaytsev




More information about the pypy-dev mailing list