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 eryksun
Recipients Dave Jones, eryksun, ncoghlan, serhiy.storchaka
Date 2017-01-14.13:28:50
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1484400531.05.0.129485915966.issue29270@psf.upfronthosting.co.za>
In-reply-to
Content
Resolving this would be straightforward if we could use a subclass for the swapped type, but ctypes simple types behave differently for subclasses. A simple subclass doesn't automatically call the getfunc to get a converted value when returned as a function result, struct field, or array index.
History
Date User Action Args
2017-01-14 13:28:51eryksunsetrecipients: + eryksun, ncoghlan, serhiy.storchaka, Dave Jones
2017-01-14 13:28:51eryksunsetmessageid: <1484400531.05.0.129485915966.issue29270@psf.upfronthosting.co.za>
2017-01-14 13:28:51eryksunlinkissue29270 messages
2017-01-14 13:28:50eryksuncreate