I think the problem is that Pow doesn't look at __rpow__ (none of the
sympy classes call the operator methods like this).
We could make Accumbounds use the postprocessors to dispatch on Pow. I
tried doing this at
https://github.com/sympy/sympy/pull/13161 for Mul
and Add, but the processors were not well designed at the time. Now
they are designed better. Although Pow is a two-argument function, so
we could also look at making it use multipledispatch. That would be a
more complicated change, however. Right now, the base can dispatch in
Pow by defining _eval_power, but I think the only way the exponent can
dispatch is by using the postprocessors.
Aaron Meurer
> --
> You received this message because you are subscribed to the Google Groups "sympy" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to
sympy+un...@googlegroups.com.
> To view this discussion on the web visit
https://groups.google.com/d/msgid/sympy/312698eb-550c-40bb-b7da-d98b9fe63d71n%40googlegroups.com.