[New-bugs-announce] [issue1796] ctypes should allow a tuple when an Array is expected
report at bugs.python.org
Fri Jan 11 20:17:08 CET 2008
New submission from Thomas Heller:
Another ctypes patch for discussion, if someone cares.
This patch allows to pass a tuple of the correct size, a ctypes pointer
to the correct itemtype, or None to foreign functions that expect ctypes
array instances. 'None' is passed as a NULL pointer.
Currently, only array instances are accepted.
components: Extension Modules
title: ctypes should allow a tuple when an Array is expected
versions: Python 2.6
Added file: http://bugs.python.org/file9127/ctypes-arrays.patch
Tracker <report at bugs.python.org>
More information about the New-bugs-announce