ENH: Add binding for random pyx files#21975
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. |
seberg
left a comment
There was a problem hiding this comment.
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