Vinay Sajip added the comment:

The test checks that a structure passed by value is indeed passed by value - 
something that is architecture-dependent, as calling conventions differ across 
architectures.

If the test fails, this indicates that the structure isn't being passed by 
value - a pointer to the structure is probably passed, which is 
pass-by-reference rather than pass-by-value. This indicates that a change to 
ctypes or libffi is needed to fix this. See the changes made in 
Modules/_ctypes/libffi_msvc/ffi.c for bpo-29565 - probably, analogous changes 
need to be made to the corresponding code for arm64.

----------

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

Reply via email to