
Oct. 15, 2011
11:39 p.m.
Alexander Belopolsky wrote:
(1) tuples are usually containers of heterogeneous objects and regular sequences are lists; and (2) 2.x range() (not xrange()) returns a list rather than a tuple.)
But, conceptually, hashability has nothing to do with the homogeneous/heterogeneous distinction. The fact that tuples conflate them is a historical oddity. -- Greg