iterkeys, itervalues, iteritems for dict-proxies

iterkeys(), itervalues() and iteritems() are missing from dict-proxy objects. Was this done on purpose or was it an oversight? Should these missing methods be added (and the "XXX" docstrings be fixed along the way)? Bye, Walter Dörwald -- Walter Dörwald · LivingLogic AG, Bayreuth/Germany · www.livinglogic.de

Walter sez:
iterkeys(), itervalues() and iteritems() are missing from dict-proxy objects. Was this done on purpose or was it an oversight?
Should these missing methods be added (and the "XXX" docstrings be fixed along the way)?
I think they should be added; I can't think of any reason not to add them. -Fred -- Fred L. Drake, Jr. <fdrake at acm.org> PythonLabs at Zope Corporation

iterkeys(), itervalues() and iteritems() are missing from dict-proxy objects. Was this done on purpose or was it an oversight?
Oversight.
Should these missing methods be added (and the "XXX" docstrings be fixed along the way)?
If you can prepare a patch, that'd be great! --Guido van Rossum (home page: http://www.python.org/~guido/)

Guido van Rossum wrote:
iterkeys(), itervalues() and iteritems() are missing from dict-proxy objects. Was this done on purpose or was it an oversight?
Oversight.
Should these missing methods be added (and the "XXX" docstrings be fixed along the way)?
If you can prepare a patch, that'd be great!
I already checked in the change. I hope this is OK! Bye, Walter Dörwald -- Walter Dörwald · LivingLogic AG, Bayreuth/Germany · www.livinglogic.de

Walter:
I already checked in the change. I hope this is OK!
I noticed that there were no changes to the test suite. Could you add that?
Also, I notice that Walter very recently got commit provileges. I though that part of the deal with new committers was to make SF patches first and check them in only after someone more experienced has reviewed the patch. --Guido van Rossum (home page: http://www.python.org/~guido/)

Guido van Rossum wrote:
Walter:
I already checked in the change. I hope this is OK!
I noticed that there were no changes to the test suite. Could you add that?
Also, I notice that Walter very recently got commit provileges. I though that part of the deal with new committers was to make SF patches first and check them in only after someone more experienced has reviewed the patch.
Sorry for that. I'll make a patch next time! Bye, Walter Dörwald -- Walter Dörwald · LivingLogic AG, Bayreuth/Germany · www.livinglogic.de
participants (3)
-
Fred L. Drake, Jr.
-
Guido van Rossum
-
Walter Dörwald