[Python-Dev] Tuples vs. lists (original) (raw)

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.

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

Jeremy