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
BUG: NEP 50 promotion for python scalars is not followed for <ufunc>.outer and <ufunc>.at #32076
Oops... It looks like the initial work missed these other cases where the ufunc has to deal with multiple inputs (.reduce, .reduceat, and .accumulate thankfully cannot suffer from this...). Ping also @seberg...
Hmmm yeah, I wonder if these even ever supported the value-based paths, but maybe not even and I just forgot the follow-up for these after much time had passed...
Anyway, the past is the past, and I guess it is nice to fix it and aligning things...
(In theory, I always had the half wish that we deferred the construction of the final array until after the promotion is finished, but in practice that diff was too large to push for it at the time.)
changed the title [-]BUG: NEP 50 promotion for python scalars is not followed for <ufunc>.outer[/-][+]BUG: NEP 50 promotion for python scalars is not followed for <ufunc>.outer and <ufunc>.at[/+]on Jul 24, 2026
Activity
jorenham commentedon Jul 23, 2026
This still seems to be the case with 2.5.1
ngoldbaum commentedon Jul 24, 2026
@mhvk hmm, maybe there are issues in
ufunc.atas well?mhvk commentedon Jul 24, 2026
Oops... It looks like the initial work missed these other cases where the ufunc has to deal with multiple inputs (
.reduce,.reduceat, and.accumulatethankfully cannot suffer from this...). Ping also @seberg...ngoldbaum commentedon Jul 24, 2026
I opened #32094
seberg commentedon Jul 24, 2026
Hmmm yeah, I wonder if these even ever supported the value-based paths, but maybe not even and I just forgot the follow-up for these after much time had passed...
Anyway, the past is the past, and I guess it is nice to fix it and aligning things...
(In theory, I always had the half wish that we deferred the construction of the final array until after the promotion is finished, but in practice that diff was too large to push for it at the time.)
[-]BUG: NEP 50 promotion for python scalars is not followed for <ufunc>.outer[/-][+]BUG: NEP 50 promotion for python scalars is not followed for <ufunc>.outer and <ufunc>.at[/+]