Message52456
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 |
|
Date |
User |
Action |
Args |
2007-08-23 15:58:03 | admin | link | issue1703286 messages |
2007-08-23 15:58:03 | admin | create | |
|