[Baypiggies] Notes on defaultdict
Glen Jarvis
glen at glenjarvis.com
Fri Aug 27 20:22:43 CEST 2010
>
> Great notes -- thanks for posting them, I'm glad to see them as I
> wasn't able to be at the meeting.
>
> Did you mention the __missing__ magic method, in Python 2.5 and up,
> which can be used for defaultdict-like (and other fun) behavior?
>
I didn't... I didn't know about it, actually... In the future, I obviously
need to send this *first* to BayPIGgies a few weeks ahead to get all of this
valuable feedback up front. There are still layers to learn/understand here.
We have *plenty* of choices to handle this one itty bitty situation...
Cheers,
Glen
--
Whatever you can do or imagine, begin it;
boldness has beauty, magic, and power in it.
-- Goethe
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/baypiggies/attachments/20100827/bbdbbbdc/attachment.html>
More information about the Baypiggies
mailing list