python said : "1, 2, 3, 6, 7, manbo !"

Ben Finney bignose-hates-spam at and-benfinney-does-too.id.au
Thu Jan 22 03:59:47 CET 2004


On Wed, 21 Jan 2004 19:03:44 -0800, Erik Max Francis wrote:
> You are iterating over a mutable sequence while you are mutating it.
> That is a big no-no.

Got a pointer to somewhere that says so?  Or at least describes the
expected behaviour for iteration over mutable types?

-- 
 \         "Love is the triumph of imagination over intelligence."  -- |
  `\                                                  Henry L. Mencken |
_o__)                                                                  |
Ben Finney <http://bignose.squidly.org/>



More information about the Python-list mailing list