-
-
Notifications
You must be signed in to change notification settings - Fork 10.8k
ENH: Add binding for random pyx files #21975
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
Conversation
No idea if this is side effect free, but should fix the issue. |
Failing because |
Does fix the
|
Not sure why Cython is introducing so many unused variables. Only happens in generator not mtrand.
|
Quick link for anyone looking for information about |
It may make sense to suppress the warnings by injecting |
Just stumbled on this, there is already a cython issue here: cython/cython#1575 and compiler warnings in cython don't really matter to us anyway, I think. Otherwise, this seems like a safe no-brainer to me, so it would be nice to just get it in. (I have to admit, I am not sure what the best way to do this is, so that it only affects random!) |
Just rebased to see if time fixed this. |
Add binding so that inspect will work correctly closes numpy#21908
Let's try close/reopen again, I somewhat doubt things changed, but it seems like the easiest thing to see whether cython 3 shipped a fix. |
I might need to rebase/merge to get the latest requirements and CI configs. |
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.
Thanks, looks like tests are passing, so I think we are fine, and I don't think we added a global warning ignore for this (or I hope so :)).
Add binding so that inspect will work correctly
closes #21908