This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author theller
Recipients
Date 2007-05-03.19:42:36
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
IMO the patch is still incorrect.  Py_ssize_t cannot be used since sizeof(Py_ssize_t) != sizeof(void *) in older Python versions.  Also, the 'n' typecode cannot be used in PyArg_Parse for the same reason.

I attach _ctypes-callproc-2.patch, which demonstrates one approach that I think should work.  If you can verify that it works I'll apply it.

I am not sure it is possible to write really cross-platform test cases.
File Added: _ctypes-callproc-2.patch
History
Date User Action Args
2007-08-23 15:58:03adminlinkissue1703286 messages
2007-08-23 15:58:03admincreate