« first day (600 days earlier)      last day (31 days later) » 

6:46 PM
180
A: Python append() vs. + operator on lists, why do these give different results?

AbelTo explain "why": The + operation adds the array elements to the original array. The array.append operation inserts the array (or any object) into the end of the original array, which results in a reference to self in that spot (hence the infinite recursion in your case with lists, though with ar...

This answer is highly-upvoted but has two fundamental mistakes: 1) confuses lists with arrays; 2) confuses += with +. Still, the concepts it's talking about are comparable. It's not a canonical, but it's still getting upvotes as of last month. What could we do about this?
I was considering adding an editor's note at the top to say that it's wrong, but still useful, but on the other hand, the author wrote that "The question has changed", which is false, except when they themselves edited the title incorrectly (revision 3), so I don't want to say basically "this guy doesn't know what he's talking about".
I suppose I could edit out "The question has changed"
After reading it again, I think + can be replaced with += pretty easily. I'll try editing it now.
 
7:31 PM
Too much effort. I ended up leaving an editor's note
 

« first day (600 days earlier)      last day (31 days later) »