[New-bugs-announce] [issue16575] ctypes: unions as arguments

Armin Rigo report at bugs.python.org
Thu Nov 29 05:24:04 CET 2012


New submission from Armin Rigo:

ctypes pretends to support passing arguments to C functions that are unions (not pointers to unions), but that's a lie.  In fact, the underlying libffi does not support it.  The attached example misbehaves on Linux x86-64.

----------
components: ctypes
files: test184_lib.tgz
messages: 176627
nosy: arigo
priority: normal
severity: normal
status: open
title: ctypes: unions as arguments
versions: Python 2.7, Python 3.2
Added file: http://bugs.python.org/file28155/test184_lib.tgz

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue16575>
_______________________________________


More information about the New-bugs-announce mailing list