[issue14821] Ctypes extension module builds as _ctypes_test.pyd

2012-05-15 Thread Jason R. Coombs
New submission from Jason R. Coombs : It appears with the latest changes (cdcc816dea85), ctypes builds as _ctypes_test.pyd, not _ctypes.pyd. This causes 'import ctypes' to fail with an ImportError and thus causes tests to fail that depend on test.support (which imports ctypes). I first notice

[issue14821] Ctypes extension module builds as _ctypes_test.pyd

2012-05-15 Thread Ezio Melotti
Changes by Ezio Melotti : -- nosy: +pitrou ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.o

[issue14821] Ctypes extension module builds as _ctypes_test.pyd

2012-05-15 Thread Jason R. Coombs
Jason R. Coombs added the comment: I see now that _ctypes is in fact in the solution, and if I open the solution in visual studio and build it manually, it gets built. Even if I just build the solution in visual studio, it gets built. However, if I run the following command, _ctypes doesn't g

[issue14821] Ctypes extension module builds as _ctypes_test.pyd

2012-05-15 Thread Jason R. Coombs
Jason R. Coombs added the comment: I've discovered a few things: - _ctypes depends on pythoncore. - other projects that depend on pythoncore are not built by msbuild. - If I remove the dependency of _ctypes on pythoncore and then do the build with msbuild, _ctypes is built and I can import cty

[issue14821] Ctypes extension module builds as _ctypes_test.pyd

2012-05-15 Thread Brian Curtin
Brian Curtin added the comment: Can you try http://bugs.python.org/file25583/pcbuildpatch.patch from #13210? -- ___ Python tracker ___ __