News for hackers. Stuff that matters.
Re:Python Lists vs. Tuples by nedbat on Friday August 19, 2016 @09:05PM (#12324536)
I get most of what you are saying, except you say that Python tuples must be able to resize. Python tuples can't resize, they are immutable. Lists are over-allocated to help with append operations, but tuples are not, because they have no append operation.
Re:Python Lists vs. Tuples by colanderman on Friday August 19, 2016 @09:09PM (#12324545)
Yes, you are right about that. Edited.