deletion while iteration - sure this is ok?
and that code has been around for years.
I guess I need to find out if enumerate creates a copy of the list or if it iterates over the list internally.
FWIW, enumerate has generator semantics (see PEP 279).