Path: csiph.com!x330-a1.tempe.blueboxinc.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!feeder.news-service.com!feeder1.cambriumusenet.nl!feed.tweaknews.nl!194.134.4.91.MISMATCH!news2.euro.net!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.067 X-Spam-Evidence: '*H*': 0.87; '*S*': 0.00; 'am,': 0.14; 'received:209.85.214.174': 0.14; 'received:mail- iw0-f174.google.com': 0.14; 'wrote:': 0.14; 'library': 0.15; 'tue,': 0.17; 'header:In-Reply-To:1': 0.21; 'code.': 0.22; 'example': 0.27; 'message-id:@mail.gmail.com': 0.28; 'received:209.85.214': 0.28; 'subject:?': 0.29; 'catching': 0.30; 'jones': 0.30; 'does': 0.33; 'to:addr:python-list': 0.33; 'daniel': 0.34; 'determine': 0.36; 'subject:/': 0.36; 'received:google.com': 0.37; 'received:209.85': 0.37; 'subject:: ': 0.38; 'some': 0.38; 'received:209': 0.39; 'abuse': 0.39; 'to:addr:python.org': 0.39; 'best': 0.60; 'subject:try': 0.84; 'constitute': 0.91 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=H5opPEEVj3oM6dV0njyQg2oXzNOHf/4JIYTSG1OKa8g=; b=YtA1GpfTvX5zcKAgoc8M9b6jlEakL8zI4vfOPfx8nWFr79ds6BbR/EJ/kwWq7sHr3w V58cIVKdMISt82er8iLegNLg/oHGaRiMA0eGbbItERsI9aW5y7VGkvYVc3ihrZUdz9hl C8x4SSfsPNvYircIw1qVo0dPn1stAy2MzQg1k= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=CuEB5djN5TLIflGoW6dV6dwuU/HIKP6hr8n64+pQ0y9dWbsfMiUyvg7KpsC5LRwIRk cFDuNYw2oXUKsiIAnMabQHk780Dt14pekBuc8zIoUxv46LMDWzONN8pDbaprKqfmJvnz jtGyH15z7xGehApLna7YqZ3zxWlYSJCLsnmIM= MIME-Version: 1.0 In-Reply-To: References: Date: Sun, 22 May 2011 00:33:33 +1100 Subject: Re: Overuse of try/except/else? From: Daniel Kluev To: 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 12 NNTP-Posting-Host: 82.94.164.166 X-Trace: 1305984816 news.xs4all.nl 49045 [::ffff:82.94.164.166]:54815 X-Complaints-To: abuse@xs4all.nl Xref: x330-a1.tempe.blueboxinc.net comp.lang.python:5919 On Tue, May 10, 2011 at 11:40 AM, Kyle T. Jones wrote: > > It has been hard for me to determine what would constitute overuse. > Good example of abuse is catching KeyboardInterrupt or SystemExit inside some library code. PycURL does it, and its truly annoying. -- With best regards, Daniel Kluev