[Python-Dev] Proposal: defaultdict (original) (raw)

Raymond Hettinger python at rcn.com
Sun Feb 19 04:53:35 CET 2006


> Also, I think haskey/in should return True if there is a default.

It certainly seems desirable to see True where d[somekey] doesn't raise an exception, but one could argue either way.

Some things can be agreed by everyone:

Raymond



More information about the Python-Dev mailing list