python said : "1, 2, 3, 6, 7, manbo !"
Erik Max Francis
max at alcyone.com
Wed Jan 21 22:03:44 EST 2004
- Previous message (by thread): python said : "1, 2, 3, 6, 7, manbo !"
- Next message (by thread): python said : "1, 2, 3, 6, 7, manbo !"
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
- wrote:
> Why 5 does not appear ? (this was the source of a deep bug in a 4000+
> lines networked program...)
You are iterating over a mutable sequence while you are mutating it.
That is a big no-no.
--
__ Erik Max Francis && max at alcyone.com && http://www.alcyone.com/max/
/ \ San Jose, CA, USA && 37 20 N 121 53 W && &tSftDotIotE
\__/ Life is painting a picture, not doing a sum.
-- Oliver Wendell Holmes, Jr.
- Previous message (by thread): python said : "1, 2, 3, 6, 7, manbo !"
- Next message (by thread): python said : "1, 2, 3, 6, 7, manbo !"
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the Python-list
mailing list