Checking Signature of Function Parameter

Chris Angelico rosuav at
Mon Aug 29 02:27:53 CEST 2011

On Mon, Aug 29, 2011 at 10:20 AM, Travis Parks <jehugaleahsa at> wrote:
> Maybe I should give up on it, like you said. I am still familiarizing
> myself with the paradigm. I want to make sure I am developing code
> that is consistent with the industry standards.

In Python, the industry standard is "easier to ask forgiveness than
permission" - that is, let the exceptions happen. It's not worth the
hassle of error-checking when the result of not checking an error is
exactly the same thing.


More information about the Python-list mailing list