Hello.
I have tried to build PyCUDA on 64-bit Debian using Python 3,
but got problems. Compiler complaints about
src/wrapper/_pycuda_struct.cpp
C++ code contains PyString_* and PyInt_* function calls, but
those functions were replaced by PyBytes_* and PyLong_*

I am not sure what is the correct fix for this - whether
we should surround calls to those with
#ifdef PYTHON2
PyString_*
#else
PyBytes_*
#endif 
or use macros:
#ifdef PYTHON3
#define PyString_Check(x) PyBytes_Check(x)
#endif

etc.?

Regards.

-- 
Tomasz Rybak  GPG/PGP key ID: 2AD5 9860
Fingerprint A481 824E 7DD3 9C0E C40A  488E C654 FB33 2AD5 9860
http://member.acm.org/~tomaszrybak

Attachment: signature.asc
Description: This is a digitally signed message part

_______________________________________________
PyCUDA mailing list
[email protected]
http://lists.tiker.net/listinfo/pycuda

Reply via email to