Brett Cannon added the comment:
So it sounds like this specific issue is fixed. If you keep having build
issues, Ziyuan, feel free to open another issue with the new problems.
--
resolution: - fixed
status: open - closed
___
Python tracker
Brett Cannon added the comment:
In case no one else sees it, Ziyuan is saying that there should be a space
after the PyAPI_FUNC() uses.
--
nosy: +brett.cannon
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19932
Changes by STINNER Victor victor.stin...@gmail.com:
--
nosy: +haypo
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19932
___
___
Python-bugs-list
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
___
Roundup Robot added the comment:
New changeset 7b077c691fef by Victor Stinner in branch '3.3':
Issue #19932: Fix typo in import.h, missing whitespaces in function prototypes.
http://hg.python.org/cpython/rev/7b077c691fef
New changeset e017cd46009a by Victor Stinner in branch 'default':
(Merge
STINNER Victor added the comment:
@Ziyuan Lin: The issue should now be fixed, can you please confirm?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19932
___
Roundup Robot added the comment:
New changeset eb1039fe090c by Victor Stinner in branch '2.7':
Issue #19932: Fix typo in import.h, missing whitespaces in function prototypes.
http://hg.python.org/cpython/rev/eb1039fe090c
--
___
Python tracker
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:
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(
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 as
10 matches
Mail list logo