Vinay Sajip <vinay_sa...@yahoo.co.uk> added the comment:
The change which caused this breakage has been reverted, at least for now. bpo-16576 is related to bpo-16575 (which is about unions rather than bitfields, but the cases have things in common). Refer to bpo-16575 for PRs relating to the reversion. This includes 3.7. You are welcome to try the latest version (will need building from source, or waiting for the next release). There is still an underlying ctypes/libffi issue, and the check was only supposed to catch instances being passed by value, rather than pointers to such structures/unions being passed. It may be that the check is faulty - your example will be used to investigate. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue39295> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com