please help shrink this each_with_index() implementation

alex23 wuwei23 at gmail.com
Tue Jan 5 22:46:01 EST 2010


Phlip <phlip2... at gmail.com> wrote:
> They will tell me how to use except: (which is a good example why a
> program should not use exceptions for its normal control flow if at
> all possible).

Really? Magic functions that coerce and eat errors are a better coding
technique than exceptions and explicit handling?

What kool-aid have you been drinking?



More information about the Python-list mailing list