-
-
Notifications
You must be signed in to change notification settings - Fork 17.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
BUG: objToJson.c - fix return value #31482
Conversation
Not at a computer to check but just might want to return NULL at the end of the function instead of changing it from a void pointer to void. I think original error is that the import_array() macro may only return that in some versions, so can force to work for all by returning NULL (though also a little strange) |
Thanks Will - confirmed we no longer see the below warnings with this change. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@alimcmaster1 can you add a note in the whatsnew (1.0.1), ping on green.
thanks @alimcmaster1 ping on green (ex the 37 build which i just have to backport to CI). |
thanks @alimcmaster1 |
Co-authored-by: alimcmaster1 <alimcmaster1@gmail.com>
https://dev.azure.com/pandas-dev/pandas/_build/results?buildId=27217&view=logs&j=3a03f79d-0b41-5610-1aa4-b4a014d0bc70&t=fe74a338-551b-5fbb-553d-25f48b1836e8&l=687
Seems like this warning is somehow causing an error in the users builds of pandas