问题
I am compiling some modules with Cython into *.pyd files that get imported by a Python program. I have tested all of my modules and they all work with the Python program. At least, they all worked until today, when I tried to run the program and the interpreter crashed upon trying to load one of the *.pyd files. It crashed with the Windows message "python.exe has stopped working". I have been able to identify the *.pyd file that causes this, because by removing it I can start up my program. Cython is still able to compile this file just fine, and there have been no source code changes since yesterday, when it was still working. I have searched for about two hours on issues relating to this problem, but I still have no idea what I'm working with here. Might anybody have an idea what's going on?
I have Python 2.7 (32-bit) installed on Windows 7.
来源:https://stackoverflow.com/questions/7094158/cython-compiled-pyd-causes-python-interpreter-to-crash