Eryk Sun added the comment:

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.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue29270>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to