[Baypiggies] Idiotmatic Savanica

Warren Stringer warren at muse.com
Tue May 15 00:12:06 CEST 2007

Last Thursday's newbie night was inspiring! 

Even though, I watched Alex Martelli's earlier presentation via google video
(http://video.google.com/videosearch?q=alex+martelli ) there's nothing like
being there in person, hearing questions, learning what 'is' is (quite aside
from Bill Clinton's "'is' is", and getting immersed in the idiom. I had no
idea that YouTube was 100% Python. Amazing!

So, what happened? I revised the spec on an executable media ontology,
called Tr3, which I mentioned to a few of you. Between May 10 and 12, I made
Tr3 a bit more idiomatic to Python and removed about half of the semantics.
That's right *half*. The number of pages describing it have been cut in
half, as well. 

My thanks to Alex and organizers. Also, my apologies to anyone who spent
time with prior and bloated writeup of Tr3 - am profoundly embarrassed. 

I asked Alex how to create a hierarchy of dictionaries. He suggested that I
override the dict class with a new __setattrib__, here goes:

Is there a more idiomatic way of expressing this? Perhaps a faster, yet
pythy solution? 



More information about the Baypiggies mailing list