repr
on expressions containing $
or a keyword as identifier is not re-evaluable
#57076
Labels
display and printing
Aesthetics and correctness of printed representations of objects.
The title wording is maybe a bit clumsy, but the following example should convey the meaning. calling
repr
on the expression adds an extra backslash, which leads to a different expression when parsed back.The text was updated successfully, but these errors were encountered: