personally I find raising exceptions in python safer because otherwise, if you forget to catch one, bad things will go unnoticed