Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #24650
| Path | csiph.com!usenet.pasdenom.info!news.albasani.net!newsfeed.freenet.ag!news2.euro.net!newsgate.cistron.nl!newsgate.news.xs4all.nl!194.109.133.85.MISMATCH!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <andrea.crotti.0@gmail.com> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.027 |
| X-Spam-Evidence | '*H*': 0.95; '*S*': 0.00; 'errors,': 0.09; 'retry': 0.09; 'anyway': 0.11; 'to:name:python-list': 0.15; 'to:addr:pearwood.info': 0.16; 'to:addr:steve+comp.lang.python': 0.16; "to:name:steven d'aprano": 0.16; 'fix': 0.17; 'to:2**1': 0.23; 'machine': 0.24; 'header:In-Reply-To:1': 0.25; 'logging': 0.27; 'message-id:@mail.gmail.com': 0.27; 'restart': 0.29; 'maybe': 0.29; 'error': 0.30; 'could': 0.32; 'to:addr:python- list': 0.33; 'received:google.com': 0.34; "won't": 0.35; 'received:209.85': 0.35; 'there': 0.35; 'anything': 0.36; 'problems': 0.36; 'received:209': 0.37; 'subject:: ': 0.38; 'to:addr:python.org': 0.39; 'header:Received:5': 0.40; 'think': 0.40; 'hand': 0.82; 'subject:times': 0.84 |
| DKIM-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=ItG6F4Gk/qBvXpDDSCv25Wu90yVharzYmCr6Psbk6r8=; b=sEqMpM7Mngcz1zi6hv2O+DJEPc9zVVQKRerarXfwA/UY/QDHgFXyhV2YSvwckOnEpa 4e5qFlBQzS4htpM5Lcppjcs0g2FPDUHp0ghprFi7FM/4zZX5hA4TtGc8ncEWtPThWiBC CEQouTQRUdfSurLdSlTBWEErpn8Xg6B8MuDwv+32Y1iK/iLuXXa64b7ZwNa6bXXV/3BB DavzaI5WXEIXDhKLNGAQl0EOo0ETLAmFcijdufhgY5ts6m3ysZx9QQ/9IVGgg6Rl675k GmcOPWUyCsyzgZzHy/KENHy66zKVxQT7EVks12zfszaVa5uQ7s0DpEZy9rwV0ute3St0 ECPQ== |
| MIME-Version | 1.0 |
| In-Reply-To | <4FECC890.1030202@gmail.com> |
| References | <CAF_E5JYVNQmf7yptnuarqV8=aVPaix5xQg-q9bFe3Cg8wwPNYg@mail.gmail.com> <4FEC8278.7020806@mrabarnett.plus.com> <mailman.1612.1340900799.4697.python-list@python.org> <4fec97d9$0$29978$c3e8da3$5496439d@news.astraweb.com> <4FECC890.1030202@gmail.com> |
| Date | Fri, 29 Jun 2012 09:53:43 +0100 |
| Subject | Re: retry many times decorator |
| From | andrea crotti <andrea.crotti.0@gmail.com> |
| To | "Steven D'Aprano" <steve+comp.lang.python@pearwood.info>, python-list <python-list@python.org> |
| Content-Type | text/plain; charset=ISO-8859-1 |
| X-BeenThere | python-list@python.org |
| X-Mailman-Version | 2.1.12 |
| Precedence | list |
| List-Id | General discussion list for the Python programming language <python-list.python.org> |
| List-Unsubscribe | <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe> |
| List-Archive | <http://mail.python.org/pipermail/python-list> |
| List-Post | <mailto:python-list@python.org> |
| List-Help | <mailto:python-list-request@python.org?subject=help> |
| List-Subscribe | <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.1628.1340960024.4697.python-list@python.org> (permalink) |
| Lines | 9 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1340960024 news.xs4all.nl 6933 [2001:888:2000:d::a6]:42238 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:24650 |
Show key headers only | View raw
On the other hand now that I think again even supposing there is a permanent error like MySql completely down, retrying continuosly won't do any harm anyway because the machine will not be able to do anything else anyway, when someone will fix MySql it would restart again without human intervention. So I think I could even just let it retry and use maybe a SMTPHanlder for the logging errors, to make the notification of problems very quick..
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Re: retry many times decorator andrea crotti <andrea.crotti.0@gmail.com> - 2012-06-28 17:26 +0100
Re: retry many times decorator Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2012-06-28 17:43 +0000
Re: retry many times decorator Andrea Crotti <andrea.crotti.0@gmail.com> - 2012-06-28 22:11 +0100
Re: retry many times decorator andrea crotti <andrea.crotti.0@gmail.com> - 2012-06-29 09:53 +0100
Re: retry many times decorator Justin Barber <barber.justin@gmail.com> - 2012-06-29 05:45 -0700
Re: retry many times decorator Justin Barber <barber.justin@gmail.com> - 2012-06-29 05:45 -0700
csiph-web