Path: csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail From: Chris Angelico Newsgroups: comp.lang.python Subject: Re: Python Error message Date: Fri, 5 Aug 2016 02:14:41 +1000 Lines: 14 Message-ID: References: <710599b6-b8c3-4f5a-a3dd-48757b816a44@googlegroups.com> <57a36593$0$1590$c3e8da3$5496439d@news.astraweb.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: news.uni-berlin.de qF9xGLvNeZvD63tVhK15+ge+X1d1ceoRf+KOP5PRGJGA== Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.007 X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; 'subject:Python': 0.05; 'subject:Error': 0.07; 'cc:addr:python-list': 0.09; 'exception,': 0.09; 'throw': 0.09; '2016': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'igor': 0.16; 'received:io': 0.16; 'received:psf.io': 0.16; 'wrote:': 0.16; ';-)': 0.18; 'project,': 0.18; 'cc:2**0': 0.20; 'cc:addr:python.org': 0.20; 'aug': 0.20; 'exceptions': 0.22; 'am,': 0.23; 'header:In-Reply- To:1': 0.24; 'fri,': 0.27; 'message-id:@mail.gmail.com': 0.27; 'said,': 0.27; 'code': 0.30; '[1]': 0.32; 'steven': 0.33; 'except': 0.34; 'server': 0.34; 'received:google.com': 0.35; 'but': 0.36; 'there': 0.36; 'subject:: ': 0.37; 'some': 0.40; 'different': 0.63; 'experts.': 0.66; 'fall': 0.66; 'experts': 0.70; 'chrisa': 0.84; 'etc,': 0.84; 'to:none': 0.91 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:cc; bh=ft7UXHRR/vKBAMm3M5XD42uZywRt3tZTBC5XGEqA1XY=; b=exySgJ7DyDG2XJTTIyyzn4aRy+73qZkEaupHVbpoksovO7RDjF+0ONA7oVq50ebz+O GpsDdqJnuFdTdJW0UGSJDByZa1DNYLjvih0vFdZUQmKFuVhL5u+2PaWs2XsXymr80ZBP u4Jl/D4kV+IvBMiG7cpEW9J/9txOUmt+VzJY3dotQe8rDPH5QUdv6kkdM4KCjrzlcY2w YEGMzW4USB+7URhpVboEcBA3azKlVqiNuJMB1BTibWHSkbL7eO8BMtTHZ01zF4TgpAQI XcPT75XmK5dAY/05auuwm6v1CHHei5ST9hxGSrPoQLloVNNDBG6kZsKDPipug+nPdIuP 7Iyg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:cc; bh=ft7UXHRR/vKBAMm3M5XD42uZywRt3tZTBC5XGEqA1XY=; b=MDAbeqwXkZQfxrE/l6QEftEOgz/c96bl5xAfsvBzzNDiXcqCPFNMCXrD0jK9QV7kZ3 FkCNjalhZF+7XnPoG9vr4wYCjQfXwuohp0dhpNUzI54Um0foDuOz6EC57urora8KU1xs gX/iGFS+INarkp7uY2UOECcTX9AQnDsFjIHHWmmI3unzjxXoGZCDFL6fm6LyFXkRllvc ABpwHC3MNS4xb9KOHSQ+0i+0a2lJr+Ybr1Dr5qvRex7ijO7vOLtKBG0yuUYIUWhKhcVh 6nPEwvuK2cEPIpEB4J9+WGD+E5JxlMtExXHmeAj659EQjtYLrW7iKncB7QQhrPdS6rkb zTPQ== X-Gm-Message-State: AEkoouvrZclqnzbiJCH8Ln/jB+NBaHLgYZ7JL4/cJm1JvfUJYO2IOV3n8PKIeet9XXTrcnOAqV4APUHtHx4Xnw== X-Received: by 10.194.221.232 with SMTP id qh8mr67237316wjc.117.1470327281915; Thu, 04 Aug 2016 09:14:41 -0700 (PDT) In-Reply-To: X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Mailman-Original-Message-ID: X-Mailman-Original-References: <710599b6-b8c3-4f5a-a3dd-48757b816a44@googlegroups.com> <57a36593$0$1590$c3e8da3$5496439d@news.astraweb.com> Xref: csiph.com comp.lang.python:112336 On Fri, Aug 5, 2016 at 2:09 AM, Igor Korot wrote: >> [1] There are exceptions to this rule, for experts. But if you need to ask >> what they are, you're not ready to know > > But even the experts will never write such a code - you never know what happens > in a month. Server might throw some new exception, you may move on to > a different project, > etc, etc. ;-) Yes, in those situations you don't write a bare except :) As Steven said, there ARE legit uses; most of them fall under the description "boundary location". ChrisA