[issue32041] Cannot cast '\0' to c_void_p

Ilya Kulakov report at bugs.python.org
Wed Nov 15 20:38:43 EST 2017


Ilya Kulakov <kulakov.ilya at gmail.com> added the comment:

I have fixed that problem by ensuring that ctypes-facing code passes bytes, not strings.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue32041>
_______________________________________


More information about the Python-bugs-list mailing list