George Demmy:
>identity = lambda x: x # like this in practice (lazy)
>
>def identity(x): # Pythonic -- shows up in profiler, etc
> return x
>
>data = filter(identity, crufty_list)
Isn't this the same as operator.truth?
Andrew
dalke at dalkescientific.com