On 02/20/2014 07:23 AM, Ron Adam wrote: > and this ... > > value = (except IndexError: things[i] or None) > > would be: > > value = _except_or(exc, lambda: things[i], lambda: None) Should've been... value = _except_or(IndexError, lambda: things[i], lambda: None) Cheers, Ron