You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Missing byteswap when converting array with record dtype to opposite-endian dtype. #6314
Doing the same with a scalar dtype gives me the expected behaviour, and replacing value with the tuple (1.1, 1.2) also gives me the expected behaviour. It looks as though there's a byteswap operation being missed at some level during the conversion.
Activity
ahaldane commentedon Sep 14, 2015
This happens because
VOID_setitemcopies structured arrays as if they were void buffers, so no casting or byteswapping occurs. For example try this:This would be fixed by #6053
MAINT: improve struct assignment, allow multi fields views
MAINT: improve struct assignment, allow multi fields views