[issue19932] Missing spaces in import.h?

2013-12-09 Thread Ziyuan Lin
Ziyuan Lin added the comment: Yes, although I left out the space after the third PyAPI_FUNC(). -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19932

[issue19932] Missing spaces in import.h?

2013-12-09 Thread Ziyuan Lin
Ziyuan Lin added the comment: I can't build the cpython with Visual Studio 2012 because of the following errors: D:\Repository\cpython\PCbuild\pcbuild.sln (default target) (1) - D:\Repository\cpython\PCbuild\_msi.vcxproj (default target) (13) - (Link target) - LINK : fatal error LNK1181

[issue19932] Missing spaces in import.h?

2013-12-08 Thread Ziyuan Lin
New submission from Ziyuan Lin: In Include\import.h, line 89-97: PyAPI_FUNC(PyObject *)_PyImport_FindBuiltin( const char *name/* UTF-8 encoded string */ ); PyAPI_FUNC(PyObject *)_PyImport_FindExtensionObject(PyObject *, PyObject *); PyAPI_FUNC(int)_PyImport_FixupBuiltin

[issue19932] Missing spaces in import.h?

2013-12-08 Thread Ziyuan Lin
Ziyuan Lin added the comment: To see the errors, one can install PyCUDA and Theano, and run code at http://deeplearning.net/software/theano/tutorial/using_gpu.html#id1 : import numpy, theano import theano.misc.pycuda_init from pycuda.compiler import SourceModule import theano.sandbox.cuda