For people that will read the posts in the future, there is a little bug (it doesn't change the output of this program):
items = alist[:]
Has to be:
alist = alist[:]
Sorry,
bye,
bearophile
--
http://mail.python.org/mailman/listinfo/python-list
