
26 Dec
2015
26 Dec
'15
4:59 p.m.
I disagree. We should not take this guideline too literally. The dots are easily understood and nobody has been fooled by a list containing an ellipsis yet. (Also, isn't the repr of an ellipsis the string 'Ellipsis'?)
Yes, the repr of an ellipsis is the string 'Ellipsis'. But the repr of recursive list still looks as Python expression, and if somebody uses repr/eval wraparound, he will silently get wrong result instead of an error.