tomer filiba wrote: > i thought avoiding a second dict lookup should be faster, but it turned out > to be completely wrong. it's only marginally faster, but if an exception > occurs, it's x10 slower. maybe you should take this to comp.lang.python instead... </F>