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


Groups > comp.lang.python > #91991

Re: Retrying to send message

From Mark Lawrence <breamoreboy@yahoo.co.uk>
Subject Re: Retrying to send message
Date 2015-06-03 21:37 +0100
References <87egltht87.fsf@Equus.decebal.nl> <mailman.108.1433338144.13271.python-list@python.org> <876174ix9n.fsf@Equus.decebal.nl> <556F4766.5090500@stoneleaf.us>
Newsgroups comp.lang.python
Message-ID <mailman.126.1433363882.13271.python-list@python.org> (permalink)

Show all headers | View raw


On 03/06/2015 19:28, Ethan Furman wrote:
> On 06/03/2015 09:15 AM, Cecil Westerhof wrote:
>
>> I kept the except. I like to see the message that went wrong. ;-)
>
> That's fine, but then add a `raise` after you print the error so you can
> see the reason that message failed.
>
> --
> ~Ethan~

Why bother in the first place, especially when you're developing?  Far 
easier to let the exception bubble up, or are we talking cross purposes?

-- 
My fellow Pythonistas, ask not what our language can do for you, ask
what you can do for our language.

Mark Lawrence

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


Thread

Retrying to send message Cecil Westerhof <Cecil@decebal.nl> - 2015-06-03 14:27 +0200
  Re: Retrying to send message Chris Angelico <rosuav@gmail.com> - 2015-06-03 23:29 +1000
    Re: Retrying to send message Cecil Westerhof <Cecil@decebal.nl> - 2015-06-03 18:15 +0200
      Re: Retrying to send message MRAB <python@mrabarnett.plus.com> - 2015-06-03 19:12 +0100
      Re: Retrying to send message Ethan Furman <ethan@stoneleaf.us> - 2015-06-03 11:28 -0700
      Re: Retrying to send message Mark Lawrence <breamoreboy@yahoo.co.uk> - 2015-06-03 21:37 +0100
      Re: Retrying to send message Chris Angelico <rosuav@gmail.com> - 2015-06-04 08:00 +1000
      Re: Retrying to send message Ethan Furman <ethan@stoneleaf.us> - 2015-06-03 16:15 -0700
        Re: Retrying to send message Cecil Westerhof <Cecil@decebal.nl> - 2015-06-04 07:13 +0200

csiph-web