reprs of recursive datastructures.
7 Sep
2012
7 Sep
'12
2:51 p.m.
With the Python 3 loosening of where ... can occur, this somewhat suboptimal behaviour occurs
x = [] x.append(x) x [[...]] eval(repr(x)) [[Ellipsis]]
Is this something that can be improved? Is it something worth improving? Mike
4220
Age (days ago)
4221
Last active (days ago)
8 comments
6 participants
participants (6)
-
Alexander Belopolsky
-
Guido van Rossum
-
Mike Graham
-
Nick Coghlan
-
Steven D'Aprano
-
Terry Reedy