logoalt Hacker News

js2yesterday at 4:54 PM0 repliesview on HN

I've been programming Python since 1.5.2 days and indeed, I didn't know the order of evaluation of chained assignments.

That said, it's the self-referencing list in your example that's the more confusing part. It's atypical to have self-referencing data structures, so that's something I'd comment in the design if I needed one.