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 freakboy3742
Recipients Albert.Zeyer, Mason.Bially, Pam.McANulty, amaury.forgeotdarc, freakboy3742, gholling, theller
Date 2017-11-23.02:04:38
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1511402678.98.0.213398074469.issue5710@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2017-11-23 02:04:39freakboy3742setrecipients: + freakboy3742, theller, amaury.forgeotdarc, gholling, Albert.Zeyer, Pam.McANulty, Mason.Bially
2017-11-23 02:04:38freakboy3742setmessageid: <1511402678.98.0.213398074469.issue5710@psf.upfronthosting.co.za>
2017-11-23 02:04:38freakboy3742linkissue5710 messages
2017-11-23 02:04:38freakboy3742create