beartype / numerary

A pure-Python codified rant aspiring to a world where numbers and types can work together.
https://posita.github.io/numerary/latest/
Other
39 stars 1 forks source link

False positive on Sympy primitives and `SupportsRealImag` #4

Closed posita closed 2 years ago

posita commented 2 years ago

Sympy primitives register with the numeric tower, but they do not provide real or imag, but they do provide as_real_imag. Is there a way we can deal with that effectively (perhaps similarly to the numerator and denominator helper functions)?