Exception as the primary error handling mechanism?

Phlip phlip2005 at gmail.com
Wed Jan 6 16:12:12 CET 2010


On Jan 5, 10:54 pm, Benjamin Kaplan <benjamin.kap... at case.edu> wrote:

> {41: None}[41] ?
>
> In cases where None is a valid result, you can't use it to signal failure.

Asked and answered. You change the "sentinel" in .fetch to something
else.

But y'all keep on defending the language making your programming
decisions for you!



More information about the Python-list mailing list