News for hackers. Stuff that matters.
Re:Python: Common Newbie Mistakes, Part 1 by dalke on Monday July 08, 2013 @01:57PM (#6008085)
A class's __bases__ is a tuple of base classes. The length is not fixed, and there's no special name for [i] other than (i+1)-th; only its ordering is important.

Do believe that the use of a tuple here is a bug, like you do for Django?

The __bases__ can be re-assigned. Assignment to an instance is guaranteed atomic in Python. Some of the list operations are not. Thread-safe guarantees might be another reason for restricting list's mutability.

Re:Python: Common Newbie Mistakes, Part 1 by wahnfrieden on Wednesday July 10, 2013 @12:24AM (#6017430)
You're right, at a certain point functionality and other characteristics make all the difference. It's just a generality for higher-level code I suppose.