Czarek Tomczak, 19.07.2013 11:40:
> It seems that the void type is now built-in in Cython, I'm not sure in
> which release did this happen.
It's been there forever.
> I have removed the "Cython.Shadow" imports
Actually, you should never use that module directly. The right way to use
it is by saying "import cython" (or "cimport cython"), and if you want your
code to run without having Cython installed, then ship the Cython.Shadow
module with your code as "cython.py". You definitely don't need it just to
make use of the normal C types (except when you are writing Pure Python
Mode code, that is...).
> and it compiles fine on Linux, I
> hope this will
> also compile fine on Windows and hopefully fix the other strange problem
> when trying to
> import the PYD module on XP SP3 in an application that was converted using
> py2exe, the
> error message was obscured:
>
> Traceback (most recent call last):
>> File "CyMS.py", line 38, in <module>
>> File "zipextimporter.pyc", line 82, in load_module
>> File "cefpython1\__init__.pyc", line 4, in <module>
>> File "zipextimporter.pyc", line 82, in load_module
>> File "cefpython1\cefpython_py27.pyc", line 9, in <module>
>> File "cefpython1\cefpython_py27.pyc", line 7, in __load
>> ImportError: DLL load failed: The specified procedure could not be found.
>
> Could the Cython.Shadow import problem be the cause of it?
No idea. Looks like it can't find the module init function. That would be
rather surprising, but then again, I don't know what py2exe does in order
to bundle and load DLLs.
Stefan