[Python-Dev] Tuples vs. lists

Jeremy Hylton jeremy@zope.com
Mon, 4 Feb 2002 23:33:14 -0500


Hey, should I change all the tuples in code objects to be lists, too?
A code object has got things like co_names and co_consts.  They're
currently implemented as tuples, but they're just homogenous,
variable-length sequences.  <wink>

'course if people modified the lists, they'd caused Python to dump
core.

Jeremy