28 | | In this way, there is no special treatment for strings or whatever else that is not a ring, since the test `if parent(resu[0][0]) in Rings()` will return false in this case. For tensor field components, the treatment is now at the level of `ChartFunctionRing` (there is no longer any reference to the internal representation via `_express` and `expr()`), so it works for both `SR` and ~~`!SymPy`~~. In particular the doctest in `src/sage/manifolds/differentiable/metric.py` now displays a matrix of !SymPy objects, and no longer a list, which is an improvement! Thanks for having triggered it! |

| 28 | In this way, there is no special treatment for strings or whatever else that is not a ring, since the test `if parent(resu[0][0]) in Rings()` will return false in this case. For tensor field components, the treatment is now at the level of `ChartFunctionRing` (there is no longer any reference to the internal representation via `_express` and `expr()`), so it works for both `SR` and !SymPy. In particular the doctest in `src/sage/manifolds/differentiable/metric.py` now displays a matrix of !SymPy objects, and no longer a list, which is an improvement! Thanks for having triggered it! |