[issue32041] Cannot cast '\0' to c_void_p

Ilya Kulakov report at bugs.python.org
Wed Nov 15 16:01:06 EST 2017


New submission from Ilya Kulakov <kulakov.ilya at gmail.com>:

Happens on 3.6.3 only:

>>> import ctypes
>>> ctypes.cast('\0', ctypes.c_void_p)
ctypes.ArgumentError: argument 1: <class 'ValueError'>: embedded null character

----------
components: ctypes
messages: 306307
nosy: Ilya.Kulakov
priority: normal
severity: normal
status: open
title: Cannot cast '\0' to c_void_p
type: behavior
versions: Python 3.6

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


More information about the Python-bugs-list mailing list