[issue5710] ctypes should return composite types from callbacks
Russell Keith-Magee
report at bugs.python.org
Wed Nov 22 21:04:38 EST 2017
Russell Keith-Magee <freakboy3742 at gmail.com> added the comment:
For those interested, we developed a workaround for this in Rubicon:
https://github.com/pybee/rubicon-objc/pull/85/files
The fix involves using ctypes to access ctypes own internals, and build a modified version of the Structure data type that is able to perform a copy when used as returned value.
Hopefully we'll be able to get this into the form of a patch for ctypes that is acceptable to Python core.
----------
nosy: +freakboy3742
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue5710>
_______________________________________
More information about the Python-bugs-list
mailing list