[pypy-dev] Missing PyUnicode_Compat

Michal Vyskocil mvyskocil at suse.cz
Fri Nov 15 15:56:40 CET 2013


Hi all,

during a build of pypy-numpy from
https://bitbucket.org/pypy/numpy.git

I've got a following error

cc: numpy/core/src/dummymodule.c
In file included from numpy/core/src/private/npy_pycompat.h:4:0,
                 from numpy/core/src/dummymodule.c:11:
numpy/core/include/numpy/npy_3kcompat.h: In function 'PyUnicode_ConcatAndDel':
numpy/core/include/numpy/npy_3kcompat.h:125:5: warning: implicit declaration of function 'PyUnicode_Concat' [-Wimplicit-function-declaration]
     newobj = PyUnicode_Concat(*left, right);

So first of all, is dummymodule.c imporant or errors can be ignored there?
Guessing from its name, I'd not say so.

But during a grepping I found that even if it is somehow declared in
cpyext/stubs.py, the symbol is missing from pypy itself, where some others
PyUnicode_ things are in there. Is that correct and cpyext/stub.py is enough,
or not?

Regards
Michal Vyskocil
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://mail.python.org/pipermail/pypy-dev/attachments/20131115/6acbf93d/attachment.sig>


More information about the pypy-dev mailing list