"Guido van Rossum" <[EMAIL PROTECTED]> writes:

> In general dict should not be looked at as an example: the dict
> constructor signature is already too far overloaded, giving a
> different meaning to keyword args, and distinguishing between a
> mapping and a sequence is iffy: it requires a "keys" method which is
> kind of sub-optimal compared to using "iteritems" if it existed...

This would be solved if iteration over a dict produced key/value
pairs.

-- 
   __("<         Marcin Kowalczyk
   \__/       [EMAIL PROTECTED]
    ^^     http://qrnik.knm.org.pl/~qrczak/
_______________________________________________
Python-3000 mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-3000
Unsubscribe: 
http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com

Reply via email to