On 12/19/06, Guido van Rossum <[EMAIL PROTECTED]> wrote:

I've written a quick version of PEP 3106, which expresses my ideas
about how the dict methods to access keys, values and items should be
redone.

The text is in svn:
http://svn.python.org/view/peps/trunk/pep-3106.txt?rev=53096&view=markup

At some point it will appear on python.org:
http://python.org/dev/peps/pep-3106/

Comments please? (Or we can skip the comments and go straight to the
implementation stage. Patch anyone?)


To comment on the open issues, I don't see why they can't be exposed and be
subclassable.  Couldn't they go in the collections module?  And as for
subclassing, I don't see how that would hurt anything.

As for the names, could go with MappingKeysView or something.  It's wordy,
but you know what the classes are by name alone.  Otherwise I would go with
dict_keys or something so that the repr of these things is makes it easy to
know what they are.

-Brett
_______________________________________________
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