class PyStringObject(Structure):
    _fields_ = [('ob_refcnt', c_ssize_t), ('ob_type', py_object), (
        'ob_size', c_ssize_t), ('ob_shash', c_long), ('ob_sstate', c_int)]

def zerostr(s):
    pass
ctypes in python crashes with memset