Skip to content

Conversation

@SwayamInSync
Copy link
Member

closes #237

This PR adds the test to replicate issue and flag addition as the fix

loop_descrs[1] = given_descrs[1];
// Handle non-native byte order by requesting native byte order
// NumPy will handle the byte swapping automatically
if (!PyArray_ISNBO(given_descrs[1]->byteorder)) {
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I forgot to handle the endianess for quad_to_unicode in prev PR #225 so this is similar to that

Copy link
Member

@ngoldbaum ngoldbaum left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for working on this and fixing all these issues!!

@ngoldbaum ngoldbaum merged commit dbe02ec into numpy:main Dec 5, 2025
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Large arrays casting of unicode/bytes cast to quaddtype leads segfault

2 participants