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. ---------- assignee: theller components: Extension Modules files: ctypes-arrays.patch keywords: patch messages: 59738 nosy: theller severity: normal status: open title: ctypes should allow a tuple when an Array is expected type: rfe versions: Python 2.6 Added file: http://bugs.python.org/file9127/ctypes-arrays.patch __________________________________ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue1796> __________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com