In message
<74587da9-8861-4400-bbd7-1ea4f8182...@l38g2000pro.googlegroups.com>, Phlip 
wrote:

> Pythonistas:
> 
> The "Samurai Principle" says to return victorious, or not at all. This
> is why django.db wisely throws an exception, instead of simply
> returning None, if it encounters a "record not found".

Does catching the exception not defeat the “Samurai Principle”?
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to