Why would you do that? You're going to have to have a branch to deal with the -1 further down in your code anyway. Why not just deal with it when it happens:
if value not in list:
# value not found
return
index = list.index(value)
# Code to deal with the thingThere is even a built-in for that:
>>> "foo".find("a")
-1
You can always do: