Dear developers of module tensor The variable name in TensorIndexType.__new__ is only checked against string_types:
https://github.com/sympy/sympy/blob/master/sympy/tensor/tensor.py#L1597 To me this seems error-prone if name is not a symbol. You might want to proceed as for TensorIndex.__new__ https://github.com/sympy/sympy/blob/master/sympy/tensor/tensor.py#L1828 Best regards ric -- 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 [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/sympy. To view this discussion on the web visit https://groups.google.com/d/msgid/sympy/7605888.mMRsS7qlWp%40ipht-ia-004976. For more options, visit https://groups.google.com/d/optout.
