Hi Jeff
You wrote:
Detecting cycles will involve a lot of bikeshedding. (Sorry, couldn't
> resist.)
>
Indeed. That really brought a smile to my face. Thank you.
As I recall, bikeshedding is endless discussion (cycles again) of the
COLOUR to paint the bikeshed. And in mathematics there's the top
This isn't so much an idea for Python, as a request for ideas to solve a
problem in Python.
Back in the early days of Python, printing recursive lists could crash
the interpreter:
a = [1, 2, 3]
a.append(a)
print(a)
If you try that today, you get a nice display:
[1, 2, 3, [...]