[Python-Dev] defaultdict and on_missing() (original) (raw)

Guido van Rossum guido at python.org
Thu Feb 23 22🔞57 CET 2006


On 2/22/06, Michael Chermside <mcherm at mcherm.com> wrote:

A minor related point about onmissing():

Haven't we learned from regrets over the .next() method of iterators that all "magically" invoked methods should be named using the xxx pattern? Shouldn't it be named onmissing() instead?

Good point. I'll call it missing. I've uploaded a new patch to python.org/sf/1433928.

-- --Guido van Rossum (home page: http://www.python.org/~guido/)



More information about the Python-Dev mailing list