Guido van Rossum wrote: > Its maps have methods to > return keys, values and items, but these return neither new lists nor > iterators; they return "views" which obey set (or multiset, in the > case of items) semantics.
> I'd like to explore this as an alternative to making keys() etc. > return iterators. This sounds like a really really good idea! It would solve Jim's problem, because the result of d.keys() would print out just like a real list, and then he could backspace over the .keys() and do something else. Greg _______________________________________________ Python-3000 mailing list Python-3000@python.org http://mail.python.org/mailman/listinfo/python-3000 Unsubscribe: http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com