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

Guido van Rossum guido at python.org
Sun Feb 26 00:16:21 CET 2006


FWIW this has now been checked in. Enjoy!

--Guido

On 2/23/06, Guido van Rossum <guido at python.org> wrote:

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