list.index crashes when the element is not found

Gabriel Genellina gagsl-py2 at yahoo.com.ar
Fri May 2 15:02:15 EDT 2008


En Fri, 02 May 2008 15:25:13 -0300, TkNeo <tarun.kap at gmail.com> escribió:

> WHAT ?
>
> This is crazy

crashes? Or raises a ValueError exception, which is perfectly normal?

-- 
Gabriel Genellina




More information about the Python-list mailing list