Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #53513

Re: Newbie: use of built-in exceptions

From Rui Maciel <rui.maciel@gmail.com>
Newsgroups comp.lang.python
Subject Re: Newbie: use of built-in exceptions
Date 2013-09-02 18:32 +0100
Organization A noiseless patient Spider
Message-ID <l02i46$gd7$1@dont-email.me> (permalink)
References <kvv7o7$1ek$1@dont-email.me> <mailman.445.1378034792.19984.python-list@python.org>

Show all headers | View raw


Chris “Kwpolska” Warrick wrote:

> There are no rules.  You should use common sense instead: if the
> exception fits your needs (eg. ValueError when incorrect output
> occurs) then use it.

Ok, thanks for the tip.


Rui Maciel

Back to comp.lang.python | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

Newbie: use of built-in exceptions Rui Maciel <rui.maciel@gmail.com> - 2013-09-01 12:17 +0100
  Re: Newbie: use of built-in exceptions Chris “Kwpolska” Warrick <kwpolska@gmail.com> - 2013-09-01 13:26 +0200
    Re: Newbie: use of built-in exceptions Rui Maciel <rui.maciel@gmail.com> - 2013-09-02 18:32 +0100

csiph-web